LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-Time Processing

I'm trying to create two different VIs to run on two different machines.  The task is to create a signal (sine wave or other) on one machine and send it to the next, where is it processed and displayed on a graph, hopefully as a duplicate of the one sent. 
 
The point of contention right now is in the inter-computer communication.  I think that Visa Serial is the best way to go right now, but I don't know how to do this in real-time.  I have some experience with circular buffers and such, but I have no idea how to implement this in Labview. 
 
Would someone help me out?
 
Shawn
0 Kudos
Message 1 of 6
(2,795 Views)
Serial communication isn't going to especially fast at a max baud rate of 115K. It would be much faster (100M) and just as simple to use either Datasocket or TCP/IP. There are client/server shipping examples of both (Simple Data Client/Simple Data Server, Data Client/Data Server, etc.). If your computers are already on a network, you don't even have to do any additional wiring. If they're not or you want to dedicate a network connection to them, NICs are very cheap.
0 Kudos
Message 2 of 6
(2,789 Views)
Thanks for the quick reply, Dennis!
 
The endgoal of this entire project is to create a wireless DAQ system.  The technology I'm using is Cypress WUSB, for which I'm just starting to learn about.  While I'm certain there are other options with the WUSB, but the only thing I do have right now (until I learn how to do something different) is a Wireless RS232 option, hence why I'm wanting to go the RS232 route with labview.
 
I suspected that my DAQ rate with a serial port would be pretty slow, but it's a start.  Any suggestions on how to implement it?
0 Kudos
Message 3 of 6
(2,785 Views)
You will do something similar to the examples I mention. You can take the DAQ DBL array data and type cast it into a string and wire that to a VISA Write. At the other end, you take the string from the VISA Read and type cast it into DBL array. Look at the discussion at http://forums.ni.com/ni/board/message?board.id=170&message.id=157785&view=by_date_ascending&page=1 and some of the example code.
0 Kudos
Message 4 of 6
(2,777 Views)

Dennis,

   I'm having trouble opening the "test simulation31.vi" from the other discussion.  Would you please post it again here?  Thanks. 🙂

0 Kudos
Message 5 of 6
(2,767 Views)
0 Kudos
Message 6 of 6
(2,758 Views)