NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial ports communication in batch model

Hi,

I still need to know what you mean by "mixed up"?  Is the data you are expecting mixed up or maybe the order of communication is mixed up.  Please tell me what you expect to happen and what is actually happening.  If the data is mixed up, please give me an actual example of expected data and an example of the actual data you see.  The more specific you are, the better I can help.

Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments
0 Kudos
Message 11 of 12
(1,097 Views)
Hi,
 
Your variable Data_Send_Buffer has been declare global static. Trouble is, this could be accessed by any of the parallel execution. This needs to be changed so that its Thread safe and use the MyIndex to get the correct variable.
 
There are a number of examples in CVI that should meet your requirements, look in ..\utility\Threading\..
 
Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 12 of 12
(952 Views)