LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW USB to a system on chip device

Hello,

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..

 

Sagar

0 Kudos
Message 11 of 18
(2,933 Views)

Hi Sagar,

 

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.

 

Error 5075.PNG

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
Message 12 of 18
(2,925 Views)

Hello,

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. 

 

Thank you!

 

Regards

Sagar

0 Kudos
Message 13 of 18
(2,908 Views)

Hi Sagar,

 

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?

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
Message 14 of 18
(2,890 Views)

Hello,

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.

 

Regards

Sagar

0 Kudos
Message 15 of 18
(2,875 Views)

Hello Sagar,

 

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.

 

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
Message 16 of 18
(2,859 Views)

HI,

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.

 

Thanks. 

 

Sagar

0 Kudos
Message 17 of 18
(2,815 Views)

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.

0 Kudos
Message 18 of 18
(2,807 Views)