Strange behavior when using Labview to collect data from Tektronix oscilloscope tds8200

I hit a wall in trying to understand this one. The problem I have is that my application will not start the oscilloscope when it should.

I use an oscilloscope Tektronix TDS8200. My goal is to collect data from the oscilloscope using Labview waveform. First of all, my program initializes and configures the oscilloscope; This part of the program works very well.

The second part of the program begins the acquisition of data with the function 'Tktds8k Start or Stop Aquisitions.vi', which is to press the button run on the scope. The function "tktds8k to Waveform.vi" is used and should ideally return data, which I connected to a waveform playback graph.

When I run my program, the first part runs without a problem, but as soon as the program comes to the service get the waveform, the run button in the scope, which is green when running, turns off; the program then expires, and no data is collected.

Here is where it gets weird. I went through the debugging to try to understand this point, and I put breakpoints on the beginning and get shape wave functions so that I could scroll through the last part of the program. The program continues with the departure function, and the button run in scope is green. The breakpoint for the function get the waveform is reached and when I press on continue, turns the Run button and turns it off then back on almost immediately. data are collected, the waveform graph appears and the program ends without error.

I thought that the timetable could be the problem, so I did the program wait as long as five seconds between the functions of start and get the waveform and that did not work. I also tried to move the start function to before the configuration functions and remove start completely; no method worked.

is there any ideas on why, the program works when I enabled breakpoints and isn't when breakpoints are disabled? I'm sure there is an easy solution, but I was not able to find a solution.

I have attached a pdf that contains information about the functions of the Oscilloscope (tktds8k.pdf), and I have also attached my program.


Tags: NI Software

Similar Questions

  • We get an error when I try to collect data from vCenter Server. But the Collection of Cluster works!

    Hello

    I m getting a strange errormessage when he tries to load my vCenter Server inventory.

    I have configured my vCenter Server as the endpoint server and I was able to load the Clusters. When I klick collection of data in a Cluster (Cluster of EQL 1) I can load all the data and the State is 'successful', but when I try to load the inventory FRO the vCenter Server (to get the models) im getting this error message:

    The treatment [inventory], error details error: illegal managed object reference type, folder.

    The same schows Agent logs:

    [26.08.2014 16:48:16] [Info]: start: treatment Workitem ID [2e38598e-4385-4b2d-bc88-fd2b773d1f98] [inventory]

    [26.08.2014 16:48:16] [Debug]: [[inventory]] [inventory] VirtualMachine.Admin.Hostname = vCenter

    [26.08.2014 16:48:16] [Debug]: [[inventory]] VirtualMachine.Admin.ParentIdentity = [inventory]

    [26.08.2014 16:48:16] [Debug]: [[inventory]] [inventory] VirtualMachine.ManagementEndpoint.Name = vCenter

    [26.08.2014 16:48:16] [Debug]: [[inventory]] VirtualMachine.ManagementEndpoint.Identity = [inventory]

    [26.08.2014 16:48:16] [Debug]: [[inventory]] [inventory] VirtualMachine.ManagementEndpoint.Endpoint0 = vCenter

    [26.08.2014 16:48:16] [Debug]: [[inventory]] [inventory] VirtualMachine.Admin.Name = inventory

    [26.08.2014 16:48:16] [Error]: <? XML version = "1.0" encoding = "utf-16"? >

    < Boolean > false < / Boolean >

    Error parsing [inventory], details of the error:

    System.ArgumentException: Illegal managed object reference type, folder.

    at DynamicOps.Vrm.Agent.vSphere.VSphereGetHostsRequest.ExecuteImpl)

    at DynamicOps.Vrm.Agent.vSphere.VSphereHypervisorServiceProvider.GetHosts (ManagementEndpoint managementEndpoint)

    to DynamicOps.Vrm.Agent.Collector'3.get_Hosts)

    to DynamicOps.Vrm.Agent.Collector'3.CollectManagementEndpoints)

    to DynamicOps.Vrm.Agent.CollectInventory'3.Collect)

    to DynamicOps.Vrm.Agent.BaseHypervisorAgent'3.EnumerateHypervisorResources (collector collector 3, WorkItem workItem, PropertyBagHelper propertyBagHelper)

    to DynamicOps.Vrm.Agent.BaseHypervisorAgent'3.ProcessWorkitem (WorkItem workItem, task of the chain, PropertyBagHelper propertyBag)

    to DynamicOps.Vrm.Agent.vSphere.VSphereAgentService.ProcessWorkitem (WorkItem workItem, task of the chain, PropertyBagHelper propertyBag)

    to DynamicOps.Vrm.Agent.BaseAgent.ProcessWorkitem (WorkItem workItem)

    I hope that someone had an idea, im out of ideas.

    THX Steven

    There is no data for the endpoint collection... And I'm not entirely sure of how you added the vCenter object it... y at - it a calculation object named "vCenter? To answer your specific questions about the models, however, they must be stored on a cluster that is part of the tissue group for data collection to pick them up... They are not considered as a global entity (as a resource calculation). Add models to one of the clusters and then to collect data on it, and you should be fine.

  • Strange behavior when using groupspec in netstreams.

    I started using the groupSpecifier to connect two players in a game I'm developing. Before, I was using a server to swap their farID, now I use the groupSpec netGroup, and it works well... but I got this weird problem:

    The first seconds of 2 to 8 netStream.sends command, I got like 2 seconds delay, after that, communication is almost instantaneous.

    Don't know why this is happening, but I don't want to fully implement netGroup if I'm having this kind weird behaviors...

    All do not know why this might be happening?, when I used NetStream.DIRECT_CONNECTIONS it didn't happen.

    Thank you.

    Update: looks like it's not about how long I have to wait for it to start working properly, it's how sends commands I do (between 0 and 10, seems completely random).

    the delay you see is the delay "pull" mode, while the Group relies (trivial) latency minimum spanning tree for the multicast stream ' push' mode.  probes need push mode any quantity rate data as well as the time to move from the probes to be judged.

    For more information on what is happening, look at

    http://TV.Adobe.com/watch/Max-2009-develop/P2P-on-the-Flash-platform-with-RTMFP/

    multicast starts at nearly 36: 25, but I recommend watching all this.

    If your groups are going to be quite small (not more than about 10-14 members) and you send data, you will find netGroup.sendToAllNeighbors () will always be a low latency, but the sender will send data to all peers (other peers don't help each other) and it will not get to everyone once the group becomes greater than 14 members.  For more information about this, which

    http://TV.Adobe.com/watch/Max-2011-develop/advanced-P2P-with-RTMFP-tips-and-tricks/

  • Strange behavior when using units and controls the ring

    Hello

    Something unexpected occurs when you use a control of the ring with units:

    1. Create the control of the ring,
    2. change the representation of double
    3. display unit label,
    4. the value of mV as a unit,
    5. edit items
      1. disable the sequential values,
      2. Add an element with a value other than zero for example 123,
      3. Ok
    6. Select the value created,
    7. create a KPI DBL with V as unit,
    8. wire from the control to the indicator,
    9. run

    What I see in the indicator is 123 V instead of the expected 0,123 V

    You guys are able to reproduce this?

    Noticed on LabVIEW 2013 and 2014, 32 and 64 bit on Windows 7 and 8.1

    Thank you

    Boris

    Bring up the digital display of the command of the ring.  You will see the units you enter under edit items menu is indeed volts.  Any prefix to units only acts on the screen.

  • My verse ATT modem (non apple devices to use this modem} is connected to the ATT line, Time Capsule (iPhones, Macs Time Capsule use) via ethernet Uverse.) Non apple devices can collect data from iPhones or Mac using the time Capsule?

    My verse ATT modem ({use of devices not apple wifi of this modem} is connected to the ATT line, Time Capsule (iPhones, Macs use the wifi of the time Capsule) and connect to the Uverse modem via ethernet.)

    Both devices are set to the highest security and each uses separate passwords.

    Non apple devices can collect data from iPhones or Mac using the time Capsule?

    With a bit of work by someone who knows how to do such things, not Apple computers could read some files on the Mac if file sharing is configured on the network... devices non-Apple and... He knew the device passwords or administrator for Macs.

    Mac could also play the files on other Macs if file sharing has been implemented and the device password or admin was known.

    If you ask if a PC can read the files on the Time Capsule, the answer is Yes, without doubt, assuming that the PC knew the password of device for the time Capsule.

  • Collect data from specific frequency of the power spectrum

    Hello

    I want to know how to collect data from specific frequency of power spectrum file. I'm trying to separate data from specific frequency of the original file.

    This will depend on much how your data is stored. You will need a way to read the file in LabVIEW and then a way to identify the data you want. I often record data in a .csv file, then I use "Reading worksheet" to get the data in a table. Then, you can simply use 'Index Array' to get the datapoints you need.

  • acquire data from the oscilloscope DPO2024

    I am trying to acquire data from the oscilloscope DPO2024 using labview. I am able to do, but my vi file only works for channel 1. Other than channel 1, it does not work and instead, it changes the adjustment of the oscilloscope as well. Find the vi files attached.

    Any help is very appreciated.

    You must connect the channel in the waveform of reading.  It is default to channel 1 if thread continues.

  • 2.1 RC1 - strange behavior when you change the data in the table

    I recently found a new strange behavior of the SQL Developer. On a small table or a table with a filter where all the data is loaded, but not all lines can be displayed on the screen, trying to change the data in the table. When I confirm the editing with the key enter, Developer SQL jumps always until the end of the data. Quite confusing and boring. The cursor seems to remain in the field that I have edited, then moving upward or downward line force SQL developer to this line.

    Appears not to be the case when all the data are loaded instead of punch, but if you force Developer SQL to load all the data, I can reproduce this strange behavior.

    Sven

    Bug 9205959 is fixed.

    -Rambeau

  • LabVIEW 'Summary' Collecting data points

    Hi all

    I am currently using LabView for my project of end of studies to the University of Amsterdam. The installation is with LabView, I do a HP 33120 A function generator transmit a Gaussian pulse in a material through the electric Piezo transducers and these sensors also collect the signal. It is then amplified by a physical Accaustics 1220A preamplifier to transfer the signal in an oscilloscope Tektronix DPO2014, which transfers in Labview data points again.

    The time of the collection is set to 125000 points, and that is the problem. It used to work perfectly, but now that she sees another 125000 points of data, of which only 3000 points contain the entire signal. The rest is sort of 0. In other words, the usual response of 125,000 points is now summarized in 3000 points.

    Do you have an idea what could be the problem? Or the solution?

    With sincere friendships.

    Matthijs

    I've added a PDF file with the explanation of the VI that I use.

    Solution is found. Apparently with windows update the drivers of the oscilloscope has changed. So: Problem solved!

  • Issues coming out of "sleep mode" and strange behavior when restarting with GPU

    I use a desktop computer HP P7-1240 completely stock except for a GPU EVGA GeForce GTX 750 TI SC. The GPU works well when the computer is running (which is strange because the forums have several other discussions mentioning the 700 series must be incompatible with my BIOS).

    However, there are two main strange problems that have arisen since the installation of the GPU. One is that, every time that the computer enters mode "sleep", he refuses to wake back up correctly. It seems to me that the computer active but sends all the signals back panel (at the very least, no video because my monitors remain blank). On rare occasions, he wakes back correctly, but at least 90% of the time, it must be restarted. Upon reboot, the same problem sometimes (not), and the computer must be rebooted a second time until it will start again.

    This leads to the second problem. During startup, the computer goes to a black screen, listing the specifications of basic computer skills (see attached photo. In this screen, the computer does not meet any entry.  He proceeds to beep 3 times, all the same length and height spaced about 30 seconds of gap. After the third beep, the screen goes black and then the computer starts normally with no other strange behavior.

    Without the GPU, none of these problems occur. At the very least, not regularly.

    I saw another thread mentioned that, while the HP support for my office page lists not her, there is an update of the BIOS for my motherboard which has fixed issues related to the GPU more modern. By nature it is an update of the BIOS that does not (seem to) officially support Windows 7, I am reluctant to go forward with this potential solution.

    Although I intend to build myself a new computer from scratch at a certain point, I was hoping to get at least another year out of this machine, if not 2.  While this question does not seem to be immediately threatening the stability of the computer, I can't help but think that it is a question should I go quickly to avoid future problems (not to mention it would save me a good amount of electricity to be able to enter the mode 'sleep' on a regular basis).

    Any suggestions would be greatly appreciated!

    Problem has been solved!

    For those of you who have trouble sleeping with the p7-1240 or computers with a card mother identical (MSI Jasmine Ms 7778 ver 1.0), I suggest that you follow this thread:

    http://h30434.www3.HP.com/T5/desktop-hardware/unable-to-boot-with-new-graphics-card/TD-p/3930544/highlight/true

    It is to use an update for your BIOS that is intended only for PC under Windows 8, but that seems to work perfectly well with Windows 7 PC. It solved my problems of sleep and makes the computer to behave at least semi normally while restarting.

    However, as indicated in the wire, an update of the BIOS should be a last resort because it can turn your machine into a very heavy and expensive paperweight if something does not work. Do not forget that you have the worm 1.0 card mother MSI Ms 7778 Jasmine and remember that you update the BIOS version 8.18.

    As I am looking for 2aeo on HP.com currently (according to the thread leading up to), I'm not find the same links I found last week when I went through the update. However, you can find elsewhere.

  • Java Fx: strange behavior when trying to write a vertical label

    I've noticed some strange behavior on the rotated texts (Label,...) in JavaFx...

    Originally, I just wanted to be able to display labels vertically in a GridPane. The first problem is that there is no simple way to indicate a label to display its content in one direction and given orientation. It would be nice to have something like the property on the side of the tabPane allowing to easily turn the text...

    In any case, I quit then myself to use the rotation function to turn my Label. It's when the strange thing began to happen... I put my label in a cell of the grid that is not large enough to display the full text if it is not turned, but the text must be able to adapt rotated once. The problem is that the text appears wrapped even when it is turned as if packaging test have been done until the text is actually shot... The problem can be seen on this screenshot http://hpics.li/e210f2f : the text to be displayed is written in the ToolTip and we can see that only the first letter of the rotated text is displayed in the grid of the cell even if there is more than enough space to display all...

    Anyone has an idea on how to solve this? Is this the intended behavior or it's just a small bug?

    Thanks in advance for your answers.

    Another workaround solution seems to be to wrap the labels into groups and spin groups. If you don't have enough space in the grid, although bad things happen.

    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Control;
    import javafx.scene.control.Label;
    import javafx.scene.layout.GridPane;
    import javafx.scene.layout.RowConstraints;
    import javafx.stage.Stage;
    
    public class RotatedLabelsInGrid extends Application {
    
      @Override
      public void start(Stage primaryStage) {
         final GridPane root = new GridPane();
         root.setHgap(5);
         root.setVgap(5);
    
         final String letters = "ABCDEF" ;
         final int numRows = 4  ;
    
         for (int col = 0; col < letters.length(); col++) {
             for (int row = 1; row <= numRows; row++) {
                 Label label = new Label("Item "+letters.substring(col, col+1)+row);
                 Group group = new Group();
                 group.getChildren().add(label);
                 group.setRotate(90);
                 root.add(group, col, row-1);
             }
         }
    
         final RowConstraints rowConstraints = new RowConstraints(100, Control.USE_COMPUTED_SIZE, 200);
         for (int i=0; i		   
  • Deal with failure when using LabVIEW 2011 and DSC MODBUS communication

    I'm currently reading from operating records a PLC with MODBUS/TCP. I confirmed that the PLC will update the values and in response to a MODBUS communication correctly by using a third-party program called Modbus Poll. However, when I try to query the PLC using the LabVIEW shared variable engine, I am unable to read the values of the same addresses that I consult with Modbus Poll.

    My installation is simply to a PC directly connected to the controller via Ethernet without a router between the two. I'm using LabVIEW 2011 SP1 with the DSC module.

    I opened the Manager of distributed systems OR to display the State of all variables in the Modbus Library that I created, and I noticed that the ILO CommFail permanently the value 'true '. All other variables with a 'read' access mode signal "failure of process". I tried to restart the process and stop and start the local variable engine without success. I also restarted my computer several times to see if any services did not exist, but this does not appear to have solved the problem.

    Finally, I resorted to listening to communications on the network card I have the PLC connected via Ethernet using Wireshark and found that while Modbus Poll communicates with PLC, number of MODBUS and TCP packet is sent and received. However, when using only LabVIEW or the DSM OR communicate with the controller, there don't seem to be any communication on the network card.

    Something that may be interesting to note is that I could communicate with the PLC and to read values with the DSM just once, when I understood everything first what address I should be reading of. All of this has stopped working shortly after. Prior to this, 'CommFail' was not generally set to 'true' with my current setup. Thinking it was my firewall, I have since disabled my firewall, but this seems to have had no effect on the problem either.

    Any help on this would be appreciated.

    So, I thought about it. It turns out that the IP address of the server i/o MODBUS must be set to the address of the MODBUS slave, not the local computer. The address of the i/o MODBUS server is defined by the navigation in the Explorer window projects, expanding the variable engine shared library for MODBUS and right click on the server MODBUS (for example Modbus1) item and select Properties.

    In addition, the addresses seem to be shifted by + 1.

    Thanks for the tip so.

  • TestStand deployment error Code 1055 when using LabVIEW storage VIs

    After a few days of playing with TestStand deployment. I have final stalked the VI which was the origin of this error.

    He was using the LabVIEW storage screw to save data in a TDM file.

    My work around at the moment is to use a Wrapper VI and call this VI by reference.

    In this way the deployment TestStand cannot detect the Sie of storage.

    I'm using LabVIEW 8.6.1 and TestStand 4.1.1 does anyone know if this issue was address TestStand 4.2?

    It seems that the upgrade can be worth it.

    Simon,

    After investigating the matter further, I found that we had already encountered this bug. It has been fixed in 4.2 TestStand and LabVIEW 2009 I tested your files with 4.2 TestStand, LabVIEW 2009 and everything built successfully without any hiccups on the way.

  • What pins to use to receive the data from the PDS ELITE RS485 with the PXI-8431/2?

    Hello!

    I use the PXI-8431/2 to read data from the flow meter PDS ELITE (Modbus RTU). Receiving data, the RS485 protocol request to terminals 4 and 5, but this configuration does not seem to work. When I connect the RS-485 converter USB of Microflex I get the data correctly, so somehow between the PIN lay and PXI this problem there.

    Can someone help me?

    See you soon,.

    Steven

    Hello Steven,

    I think that what was Hossein trying to send you is the following:

    How to connect and configure a device with RS-485 2-wire

    Can you also tell me a little more what you use to read the data? What environment. You have 2-wire or 4-wire Modbus RTU?

    Kind regards

  • Using CF to integrate data from MS Access with MS SQL Server

    I use query of RDS in Flex Builder to create scripts to extract data from and eveuntually perform updates Microsoft Access tables.

    Problem - this error when I run the very simple code (under the error box).  I use the wrong ODBC driver? How to do this?  Curiously, it has worked in Flex/RDS Query Builder against the MS Access data source.

    Run database query error.

    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Syntax error (missing operator) in query expression ' ordDate > = 2009-08-01 00:00:00 '.
    The error occurred in C:\Inetpub\wwwroot\ws\micheOrderVerification1.cfm: line 14
    12 :             SELECT    ordID, ordDate, ordName
    13 :             FROM      orders
    14 :                  WHERE ordDate >= #rptDate#
    15 :             ORDER BY ordID      
    16 :            

    < cfset rptDate = ' 2009-08-01 00:00:00 ' >

    < = 'results' datasource cfquery name = "eCommerce" >

    SELECT ordID, ordDate, ordName
    Orders
    WHERE ordDate > = #rptDate #.
    ORDER BY ordID

    < / cfquery >

    < cfset rowcount = 1 >
    < cfloop query = 'results' >
    (< cfoutput > #rowcount #) #results.ordID #, #results.ordDate #, #results.ordName # < / cfoutput > < br >
    < cfset rowcount = rowcount + 1 >
    < / cfloop >

    cfqueryparam is your friend.

    So are proper date objects.

Maybe you are looking for

  • Problem with the two factor authentication with Apple TV.

    I tried to connect to my Apple TV (2nd generation, operating system and updates are up-to-date), log-in failed and indicated that I had to use two-factor authentication which I recently install on my trust Apple devices which included my iMac, iPhone

  • Satellite Pro S300 - HDD in caddy is not recognized by BIOS

    I replaced the original HARD drive and installed a new SSD that works very well.Installed the W7Pro and all updates. I do not use my burner so I replaced the CD drive and installed a shopping cart with my old HDD to have more disk space. When I start

  • Silent mode NB100

    Toshiba manual stipulates that 'silent mode' (fn + f8) will extend the battery power. But I'm not sure if the fan white or gray represents this mode... Anyone know? Thanks for help.

  • Updates user (their "mood" updates)

    So, I accidentally hide the updates of some of my friends. I was wondering how to view. (I clicked "hide all user") He said go to Options, but I found nothing. Is there a more direct way to view all updates of mood by them?

  • What is online.apple@cms.math.ca? a scam?

    I received an email the email above with of a "receipt" of songs that I bought apparently. Here the bottom of the message, which looks like it came from Apple, there is a link problems with this transaction?If you did not authorize this transaction,