LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange Behaviour in LabVIEW

Hi
I am running LabVIEW7.0 on a PII windows 98. I am reading an array of clusters of four elements and to only use TWO set out of the 4 set of clusters I use a For loop. I unbundled the data and change the format into real numbers.

The PROBLEM is that when I run the program in normal mode one set of data comes out as zero. HOWEVER when I run the program in the HIGHLIGHT EXECUTION mode the results are as expected!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Can someone HELP?????????????????????????????
0 Kudos
Message 1 of 8
(3,536 Views)
Could you send the VI with the array of clusters that causes the 'strange behaviour' plz...
Thanx
Julien
0 Kudos
Message 2 of 8
(3,525 Views)
Could you post an example of your code. It sounds like you may be experiencing a race condition.
Message 3 of 8
(3,524 Views)
Hi.
This program uses Keithly236/7 drivers to synchronise two measurement units for MOSFET analysis. I have enclosed the full program but I do not know if you could see the Keithly drivers. I have also enclosed a picture of the program (it may be of some use).

Sorry that I have not been able to supply the code earlier as I did not have access to internet for a period of time.


Kind Regards
0 Kudos
Message 4 of 8
(3,419 Views)
and this is the program
0 Kudos
Message 5 of 8
(3,419 Views)
I don't see any obvious race condition.

Could you place a probe at the location of the first arrow and run it in normal mode? Could it be that the "Keithley Read" does not provide any data back unless you're in highlight execution mode?
0 Kudos
Message 6 of 8
(3,381 Views)
Hi

Actually I did test your suggestion for checking if the Keithly works in Execution mode and actually it is the case!
I did more than 40 reading on this matter in different times and all comfirms that suggestion.
Do you have any idea of how to overcome this problem?

Kind Regards
0 Kudos
Message 7 of 8
(3,373 Views)
If you probe the data on the i/p to the number conversion VI is this correct? Can you supply a set of test data that causes this issue from the Keithly before and after the conversion to ensure it is this conversion that is causing the issue? Then I/NI can simulate this merely using the Test data to investigate the issue further.

Kind Regards



Steven Bird
Applications Engineer
National Instruments
0 Kudos
Message 8 of 8
(3,362 Views)