martin zhxie
-
Posts
6 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by martin zhxie
-
-
Actually I am using a queue to pass script command from teststand to labview. Then in labview, it reads the output of the script. The whole purpose is to use this output to compare with the value of a variable in the teststand. Then adjust the command and send it back to labview again.
I don't know how to attatch a screen shot here, so I paste it in the doc.
"Local.Numeric In" is the one that I want to send to teststand. I know if I merge the sequence context part into my program, it is not gonna work since I can not call this vi directly by wiring the connect panel. How about sending this refference separetly?
-
QUOTE (martin zhxie @ Aug 20 2008, 05:01 PM)
Right. This sounds close to what I need. The problem is that I am using a old version of labview. (7.1) could not open the 8.6 version vi. Is there a 8.6 version can be downloaded for free. Or do you have the sample vi in 7.1 version?Oh, Thanks a lot. I've recreate the vi tried it. It works for me. Now I just need to convert it into my own program. Hope it will work in a loop and continously sends data between teststand and labview.
-
QUOTE (TobyD @ Aug 20 2008, 02:14 PM)
This may be more simplified than what you are trying to do, but if you send a reference to the Sequence Context from TestStand into LabVIEW, you can directly access the TestStand Variables. I have attached a small vi to demo this. You will have to create a Locals.Numeric variable in TestStand and then call this vi from TestStand. Setup the inputs as shown in the picture below. When you run it, it should increment the Locals.Numeric variable by one (you'll have to watch the variable in the watch window to see this happen).Right. This sounds close to what I need. The problem is that I am using a old version of labview. (7.1) could not open the 8.6 version vi. Is there a 8.6 version can be downloaded for free. Or do you have the sample vi in 7.1 version?
-
QUOTE (Tim_S @ Aug 20 2008, 09:23 AM)
You may want to look in the Code Repository and on NI's website. There are network communication schemes such as the Publish/Subscribe (http://forums.lavag.org/Publish-Subscribe-file122.html). I also recall running across a networked queue, but can't seem to locate where that was.Tim
Thanks for your info.
Eventhough, I use a TCP/IP connection, it acts both server and client on the same computer. I think that the problem is still between teststand and labview. (How to pass variable from labview to teststand where the variable initialized in teststand at first.)
Martin
-
Hi,
I am new to labview. Currently I am doing a automation romote control to a testing system through TCP/IP. The communication from teststand to labview has been done by using queue. It outputs some data. Now I need to pass these data back to teststand and do some caculation to them. Then loop them back to labview.
anyone can help?
thanks
Martin
Passing data to teststand from labview 7.1?
in TestStand
Posted
I just found out that I can actually wire the connect panel for sequence context and the refference with IP address and port number at the same panel. That should solve my problem.