Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Timestamp Modulo Event value in Labview

Solved!
Go to solution

Hello everyone,

 

I'm trying to set Timestamp Modulo Event value in Labview for GigE cameras.

scrsht_TimestampModuloEvent.PNG

It works in NI MAX, but in Labview I get the following error:

scrsht_TimestampModuloEvent_Labview.PNGscrsht_TimestampModuloEvent_Labview2.PNG

Have anyone an idea what am I doing wrong or it is really not possible to set this over Labview?

 

Thank you,

Vlad.

0 Kudos
Message 1 of 4
(2,071 Views)

Hi Vlad,

 

Are you sure you are using the right datatype for the Timestamp Modulo Event attribute? Can you read that attribute from LabVIEW without getting an error?

 

To check the correct format for the attribute you could call the IMAQdx Enumerate Attributes VI which will tell you the datatype and whether the driver thinks it should be Read/Write. 

 

Are you trying to set it while an acquisition is in progress?

 

Jordan

0 Kudos
Message 2 of 4
(2,015 Views)
Solution
Accepted by VladTFD

It looks like MAX is set to show the Display Names for the attributes, but the property node requires the actual name. You can click an option at the top of the attribute tree to switch it to show you those names instead. The camera vendor might have made it use a different name than just then display name without spaces.

 

Eric

Message 3 of 4
(1,993 Views)

Thanks, that worked! Changed the name from "TimestampModuloEvent" to "TimestampModulo" and the attribute now can be set with no troubles.

0 Kudos
Message 4 of 4
(1,979 Views)