Ano Ano Posted April 21, 2011 Report Share Posted April 21, 2011 Hello, I am using a USB-6255 to output/input data and it works fine (see part A & B in picture) When I added code (see part C) to input temperature data from a NI-6213 a strange thing happened. The graphs stopped showing data where as all indicators and probes show the data just fine! The code for the temperature works fine alone Why is this happening and why only graphs/charts are influenced? Quote Link to comment
Ano Ano Posted April 21, 2011 Author Report Share Posted April 21, 2011 Here is another picture. The text output is directly connected to the waveform graph I get data via text but there is nothing displayed on the graph Why is this happening? All the graphs in the vi do not work Quote Link to comment
Roderic Posted April 21, 2011 Report Share Posted April 21, 2011 Why are the configuration steps into the loop? you should initialize only once.... same as closing steps... Quote Link to comment
Ano Ano Posted April 21, 2011 Author Report Share Posted April 21, 2011 Why are the configuration steps into the loop? you should initialize only once.... same as closing steps... So I should keep them out side the loop? Why are the configuration steps into the loop? you should initialize only once.... same as closing steps... Can you please tell me which parts to keep inside and which outside the loop? Quote Link to comment
Roderic Posted April 21, 2011 Report Share Posted April 21, 2011 Code you want to run only once dont need to be placed in a loop. So all the init and config sub VI have to be before the loop, and the closing sub VI have to be placed after the loop. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.