10-21-2017 12:25 PM
Hi,
I am using a NI1752 smart camera. I would like to trigger it using a PLC tag value. On the forums, it was suggested to modify the HL_Triggered_Grab example. I have some doubt in the example.
a) In the IMAQ property node, the boolean value from the control is set to a property named 'Send Software Trigger'. I cannot find such a property in the list. Am I understanding it wrongly? I have attached a screen shot.
b) What is the trigger line number? How do I set up the trigger for PLC tag ?
I am accessing the tag value using OPC client. If someone could tell me how to modify that example, it would be of great help.
Best,
Gibin
10-23-2017 11:04 AM
Hi Gibin,
You need to use the TrigIn/IsoIn(0)+ andTrigIn/IsoIn(0)- inputs to trigger an acquisition.
NI 17xx Smart Camera User Manual and Specifications
http://www.ni.com/pdf/manuals/372429c.pdf
Could you attach the example? I can't find it in my system, and finding it would be useful to help you troubleshoot.
Best,
Rey
10-23-2017 11:10 AM
Hi Rey,
Thanks for the reply. I believe that the TrigIn/IsoIn(0)+ andTrigIn/IsoIn(0)- inputs are for hardware trigger. I would like to make a software trigger which can be triggered from a VI on the host system.
Best,
Gibin
10-24-2017 09:48 AM
Again, could you attach the example? It would be useful in order to help you troubleshoot.
-Rey
10-31-2017 06:21 PM
Hi,
I have attached the vi. I am not able to see the shared variables on the NI distributed systems manager also. I get the following error message.
I believe this is the error when firewall settings are not matching. I dont know how to solve this. Would appreciate any help.
Best,
Gibin Joe
Best,
Gibin Joe
11-01-2017 02:19 PM
Joe,
Have you already tried the steps in the KB below? I looked over the code, and can't find any glaring issues.
Warning -1950679034 when Reading a Shared Variable
http://digital.ni.com/public.nsf/allkb/238D4F85D7EF6A0F86257536006F7718