09-14-2017 03:38 PM
Oh yes, anything "unwired" has to be fixed before running. Your outer shift register must be wired. Also, make sure help is showing (ctrl + h) and mouse over a function. Any inputs in bold must be wired.
09-14-2017 03:42 PM
Some things to notice,
You want to increment the image number. If you increment N you will just 20 + 1 every time, and most images will have the same name. Make sure to wire the format specifier for Array to Spreadsheet String. You have wired 1000ms to the timeout, meaning the program will take images, wait 1 second, take images again. I'm not sure this is what you want.
09-15-2017 09:56 AM
Hello Gregoryj,
I have taken note of your suggestions and have also "array to spreadsheet string". I no longer have the broken arrow. Can you check for me if all the wiring is right? Thanks.
Petmar.
09-15-2017 10:48 AM
Hi Petmar,
It's close, but you wired the Image Name to the Format String, this is not what you want. Format string is like a placeholder for whatever you are turning into a string. If using an integer (which you are) you can use "%d" (create the string constant). If you had an array of doubles, you could use %f. If you already had an array of strings, you would use %s. You can get fancy and define padding, scientific notation, and other stuff with the format string, but for now just try %d.
09-18-2017 07:20 AM
Hello Gregoryj,
I think I got what you were said. Have a look if I got it right. Thanks.
Petmar.
09-21-2017 09:36 AM
Hello gregoryj,
I have posted the latest version after effecting the changes you suggested. Please have a look at it for me. Thank you.
Petmar.
09-21-2017 11:13 PM
Hi Petmar, it looks good! You may have to debug a little when you play with your instrument, but that is what I had in mind.
09-22-2017 09:09 AM
Thanks so much Gregoryj. I have been having problems getting labview to "read" the device so I have not tested the script yet. I reading about it and will get in touch whenever I need your help. Thanks so much.
09-22-2017 06:23 PM
Petmar.
I usually don't reply to PM and, this looks like "homework". You have already marked Greg's response as a "solution". I will unmark for you.
09-22-2017 06:29 PM
Hi Jeff,
I am ok now. Greg has helped me out. Thanks.
Petmar.