05-07-2012 10:31 PM
Now I am writing G code to control a CCD camera. I finished writing code based on SDK provided by the camera manufacturer. However, when i run my code, the error code (5075) appears from the sub vi ( for example the SDK vi for temperature control or image acquisition or exposure time). The error code (5075) appears when the code value reached the SDK vi.
I have not connected by computer to the camera. Is the error because labview did not detect any hardware.?
Thanks for the information..
05-08-2012 09:16 AM
As you can see from the screenshot, the error is undefined and there is very little we can do without more information. I can see how an error would appear if the camera is not detected, but again, we don’t know what the SDK expects without documentation. It can very well through an error if it doesn’t detect the camera.
05-13-2012 02:26 AM
I am still running through the problem where the error code appears when I run the program. However, there are several examples provided by the SDK and if I run those examples there is no error code even for the same function. I tried to copy and paste the code of SDK example in next blank page of Labview and tried to run the code. The error code appeared. That means, there is no error in running the code provided by the SDK example but the error code appears for the same code if I copy and paste in next blank page. Will be glad to be informed the ways to solve this program.
05-14-2012 01:49 PM
If you don't receive an error when you run the SDK example (but you do when you copy-paste the code into a new VI) why don't you try to develop your code by using the same SDK and modifying it to your needs?
06-01-2012 02:28 AM
I used SDK provided by Andor CCD to control the camera and acquire data in labview. However, with the acquried data when I plot in graph, the unit of x-axis is represented in Pixel. I want my x-axis to represent raman shift (cm-1).
The software of the CCD (solis) was calibrated to represent raman shift in x-axis. Is there any possible way, in labview, where the pixel value be changed to its corrosponding raman shift.
Thank you for the information.
06-04-2012 09:27 AM
You just need to know what the conversion to pass from pixel to Raman shift cm-1 is so that you can input that into the graph properties. If you right click on the graph and select properties, and then go to the scales tab, you can input the offset and multiplier parameters and LabVIEW will scale the units.
08-20-2012 07:39 AM
As my earlier post, I tried to use Labview code to control Stepper motor through PSoC. I spend almost 6 months for that along with some other side works and still the program cant even simple rotate the stepper. Attachment is the LabView code if someone can be of help to let me know how can I modify to make it work.
Besides, I am now thinking to program my PSoC by C, but control the signal by LabView. In other word, the stepper motor is controlled by PSoC programmed by C but user should be able to control the rotation, stop and stepping angle of motor through GUI developed in LabView. I want to know if it is possible to send signal from Labview to PSoC to operate ( note the PSoC is already programmed by C). Detailed explanation will be very helpful to me.
08-20-2012 01:02 PM
PSoC has a good text-based serial API. Right-click on the UART and Find Example Project, or so. Combine the useful parts of the Rx and Tx projects. Then you can just use the VISA read and write primitives in LabVIEW.