Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Computer requirement ??

I've already built up three instrument drivers using LabView 7.1, but ,every time, after 20 mins working well with drivers, they started to go crazy.( dealing with signals form three different com. port)

I know the computer requirement for LabView 7.1 is Pentium 3 ,640MHz with min. 256 Mb memory, but I only can get Pentium 3, 584MHz, 256 Mb memory.

Is it the computer problem that they got out of control, or any other things??

Thanks in advance!
0 Kudos
Message 1 of 6
(3,907 Views)
It could be the computer but it could also be a lot of different things. What exactly do you mean by "started to go crazy"? Do you get errors, miss commands, dropping responses, or what? Are you reading the com ports simultaneously or sequentially? Having problems after 20 minutes sounds like the program may be using too many resources eventually. Can you post your code along with the instrument drivers? I'm not sure that I or anyone else can solve your problem without having the actual instruments but we can try.
0 Kudos
Message 2 of 6
(3,895 Views)
I did get errors, and sometimes it would skip one of the commands.
I read three com ports simultaneously, three VIs separately.

By the way, what did you mean by" using too many resources"?

Sincerely,
0 Kudos
Message 3 of 6
(3,886 Views)
Resources could be memory misused in the form of building arrays or strings, VISA resources created with closing, harwware resources such as the read buffer filling up. What are the errors that you get? Can you post your VIs so someone can have a look?
0 Kudos
Message 4 of 6
(3,870 Views)
Dear Dennis:

Please take a look my vi.
I don't what's going on, and it keeps getting errors.
If you need any more information, please tell me !!

Sincerely,
0 Kudos
Message 5 of 6
(3,851 Views)
You have three of these running simultaneously? I'm not sure if it will make much difference but you could try putting the VISA Open and VISA Close in your main VI. You could also try changing the way you do the VISA Reads in the loop. Instead of a fixed byte count, try putting in a VISA Bytes at Serial Port with it's output wired to the VISA Read byte count input. You would then read until the byte count is zero. Doing a VISA Flush I/O Buffer before you start doing any reads or write would clear the serial buffer of any characters left over.
0 Kudos
Message 6 of 6
(3,845 Views)