Hardware I am using:
- cRIO-9035
- Dalsa GigE Nano M1930 NIR
Software I am using:
- LabVIEW 2018
- JKI Tools Library
- NI IMAQ Vision Express
About the issue:
I'm trying to acquire images at several different time intervals. I set up an array of the time intervals and hacked together some condition statements (I don't know if this is the correct way to do something like this, this is my second week using IMAQ). When the capture command is given the images are flattened to a string. I'm trying to append to the string by using concatenate string, but it doesn't appear to be working.
Right now it is only writing one of the images into JSON formatting. I've attached the output text for you all to look at. Not exactly sure what the issue is since no error is being produced.
This is the segment of timed capture that I'm not sure about. I imagine there is a much more forward approach to this, so hopefully someone can point me in the right direction. I want the time intervals to range from 2^-4 to 2^10 milliseconds. Where the first capture is at 2^-4 ms, the second at 2^-3 and so on
Here is where I am trying to convert the information to JSON format. As you can see I am flattening the image to a string, then clustering everything together. Once all the information is clustered, I flatten the variant to a string. This is where I try to concatenate the strings to before converting back to a variant.
Also, ideally my JSON output would look like this:
{ "Image_1":{ "Image_Time": time, "Image_Binary":image binary data } "Image_2":{ "Image_Time": time, "Image_Binary":image binary data } etc. }
but that isn't as important as the timing and appending issues