10-20-2005 07:24 AM - edited 10-20-2005 07:24 AM
메시지가 10-20-2005 07:26 AM에 labmaster에 의해 편집되었음
메시지가 10-20-2005 07:27 AM에 labmaster에 의해 편집되었음
10-20-2005 07:42 AM
10-20-2005 09:45 AM
10-20-2005 06:07 PM - edited 10-20-2005 06:07 PM
Thanks Lul,
Yes, two indendent visa (USB to COM port) were used in my attachment.
I initialized them separately in binary mode transfer.
My purpose of this code is to acqure data (Infincon-Ecotec) just after changing the position of sensor (Rockwell).
That's why I put them in a sequence.
Can I realize your suggestion using Queue? Can you give some example code for me based on your core idea?
(please keep in mind the sequence of acquring data after moving by two instruments)
As for event structure, I can't understand how to modify my code.
Please give me some detail or close related example.
How about buffer-flushing?
Very thank you again.
메시지가 10-20-2005 06:13 PM에 labmaster에 의해 편집되었음
10-21-2005
10:55 AM
- last edited on
10-29-2025
09:49 PM
by
Content Cleaner
Lab,
I took a look at your code. It looks like all your VISA reads and writes are done asynchronously. Try changing them to synchronous writes and see if the problem persists.
Check this site out for info:
https://www.ni.com/en/support/documentation/supplemental/18/choosing-between-synchronous-and-asynchr...
The bottom of the page describes how to make this change.
Good Luck!
Travis W
VISA Enthusiast