06-21-2010 03:42 AM
I am using RT system. I have tried with shared variabe to output a signal(Double) to another RT system. It takes about 100ms. It is obviously too slow to my required frequency. Is there a faster way to transfer data? Thanks in advance.
06-21-2010 06:05 AM
Hi Guo,
you can use TCP/IP for it.
The example finder will give some starting points.
Mike
06-21-2010 03:11 PM
Shared Variables should be much faster than that.
Read this document to learn more.
06-21-2010 07:56 PM
hi sachsm,
your answer is quite inspired. But in that case I should output the signal I have just one while loop to acquire image and do some analysis. I don't know how to add a single process variable to pass the data to a network published varible. It meas how to establish the high priority loop and low priority loop.
06-21-2010 08:31 PM
You can use Timed Loop's which have a loop rate and priority setting. Perhaps you can describe your application in more detail or attach vi's so I can offer more help.
06-22-2010 03:28 AM
This is the image. This loop is under a case structure.
06-22-2010 07:27 AM
Do NOT post bmp files renamed to jpg just to get around the ban on them. Do you really think that saimply renaming a file changes the file format?
06-22-2010 07:54 AM
I think that the problem is that you are trying to use single point data transfer via NSV's, you need to add buffering to the NSV's.
06-22-2010 09:30 AM
I have tried with multi-buffer. It worked slower.
06-22-2010 10:47 AM
Could you show me the client vi's? Aggregate NSV data transfers via the PSP (Publish Subscribe Protocol) on a 10ms interval. You can use the Flush vi to force
any pending NSV data to immediately transmit. Also, could you tell me what type of NSV buffering you were using?