cubnstyl Posted June 30, 2006 Report Share Posted June 30, 2006 Hi all, I have a Tektronix 3054 Oscilliscope connected to a PXI chasis running Windows XP. I have the scope hooked up on both ethernet (with a eth switch) and GPIB. I am trying to design a VI that displays the time it takes to acquire a waveform through ethernet and then GPIB. I have created a very basic VI that has a ms timer at the start of data flow and another one at the end of the acquisition loop for each interface. The logic of this makes sense to me except the GPIB timer reads about 150 ms and the Ethernet timer reads 1.0 s + . This is obviously not right being that Eth is supposed to be faster. I think my design may be too simplistic. The VI has two while loops with stop buttons. The first loop establishes a VISA session through IP and uses an event loop timeout to send a waveform to a graph. The timers are obviosly within the data flow of this event loop. Once the IP whileloop breaks, the second identical loop starts after a new Visa initiation (the IP is closed after the IP loop) with GPIB interface. CAN I GET SOME HELP PLEASE! I have experience in Java and other object orientated languages, but I am obviously a LABVIEW newbie. Quote Link to comment
orko Posted June 30, 2006 Report Share Posted June 30, 2006 Could you post your VI for us to see? BTW, it seems to me that this post would have had a better response from the "General" forum, rather than the Machine Vision forum. Quote Link to comment
cubnstyl Posted June 30, 2006 Author Report Share Posted June 30, 2006 Here is the VI with the 2nd loop cased out. The VISA interface is now a control on the front panel. Download File:post-5462-1151691773.vi Quote Link to comment
LAVA 1.0 Content Posted June 30, 2006 Report Share Posted June 30, 2006 I would try reading the three channels sequentially using instrument handles and error in / error out clusters to control data flow. See if this makes any difference. The TK Read sub-vi might be erroring out on the Ethernet side. Check the error out; it may have some information in it! Example: I don't have the drivers for this instrument Quote Link to comment
cubnstyl Posted June 30, 2006 Author Report Share Posted June 30, 2006 Thank you, the adjustment does make the program run smoother but I still have a 1.5 second count for ethernet and a much lower count for GPIB. I am going to post this in the proper category so maybe i can get some more help. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.