06-03-2010 10:01 AM
06-03-2010 10:05 AM
06-03-2010 10:07 AM - edited 06-03-2010 10:07 AM
superomario wrote:
...I cannot open that file right now...
Oh yeh haha you just told me yesterday you have 7.0, my memory isnt that great
Put the following code in the True case of your case structure:
06-03-2010 10:12 AM
Dennis Knutson wrote:
Actually, the Number to Decimal String will not pad the string with '0'. The Format Into String will though, and should be used to replace the Number to Decimal String and the Concantanate String function.
My mistake, you are right. I should have ran the code before I posted it.
This will correctly create 00, 01, 02 as Dennis described
06-03-2010 10:12 AM
06-03-2010 10:14 AM
Dennis Knutson wrote:
Actually, the Number to Decimal String will not pad the string with '0'. The Format Into String will though, and should be used to replace the Number to Decimal String and the Concantanate String function.
My mistake, you are right. I should have ran the code before I posted it.
This will correctly create 00, 01, 02 as Dennis described
06-03-2010 10:15 AM
The output of this function will be 00, 01, and then 02 for each of the 3 iterations.
You will put this in the top input of your 'concatenate strings' function in place of where I had the 'number to decimal string' function before.
06-03-2010 10:26 AM
06-03-2010 10:30 AM
Are you sure you put a 10 second delay?
If you did this
You only made it wait 10 ms (0.01 seconds).
The wait function is in terms of milliseconds
Try somewhere between 100 - 250 ms.
06-03-2010 10:31 AM
The for loop with the VISA writes which Cory posted has a VISA Close inside the loop. It closes the VISA session on the first iteration. Thus, the VISA reference will be invalid on the second and third iterations and no writes will occur. Move the VISA close to outside the loop.
Lynn