NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Action engine synchronization in testsand UI

0 Kudos
Message 1 of 10
(5,083 Views)

please Ignore the first  message

 

 

 

 

0 Kudos
Message 2 of 10
(5,082 Views)
0 Kudos
Message 3 of 10
(5,081 Views)

ui-messages r lost in comm.

0 Kudos
Message 4 of 10
(5,079 Views)

sorry for the fuss but  I was not able to   write to the  board  (some bug with the HTML editor maybe - gave me correction suggestions everytime bfore posting)

0 Kudos
Message 5 of 10
(5,018 Views)

I  am using these Action Engine  &  the  functioning is   sporadic.

 

they are able to deliver the UI messages sometimes &  sometimes not.

0 Kudos
Message 6 of 10
(5,017 Views)

Hi aparab,

thanks for posting here.

 

Could cou please provide more detailed information to your question?

- Which Teststand Version are you using.

- What are you generally trying to do.

- In which situation does the problem occur?

 

Please also provide some demo-code narrowed down to the problematic part to let us reproduce the behaviour.

 

Best regards,

Peter

0 Kudos
Message 7 of 10
(5,016 Views)

Hi,

 

I think you are not using the Action Engine correctly see: http://www.pearl.fr/peripheriques/gadgets-usb/fusil-usb-avec-lunette-de-visee-par-webcam_PX1420.html

 

You don't have an enum (type of action), so I guess you are not using the un-initialized shift register correctly.

 

PS: why would you write in the action engine the same data every 2ms anyway?

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 8 of 10
(5,008 Views)

thanks guys for the response

 

hi Roderic its agood pt abrt the shift register

 

Abt the  while loop timing  , still in design  no particular reason.

 

Hi Peter,

 

The action engi ne that I am using to  get UI Messages from testsand   works intermittently i.e.  (luck by chance)

sometiimes I am able  to get some UI Mges & sometimes other.

 

why this could be happening ->not able to conclude conclusively ->  but may be write & read are nt synchronized

 

i use teststand 2012 sp1 & labview 2012 sp1

 

i will try to provde a sample code

0 Kudos
Message 9 of 10
(4,987 Views)

You only need to write the cluster of references once in your action engine. Then all you have to do is read it. So you have to make two "actions" (cases) write and read (use an enum) and store the date in a shift register. 

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 10 of 10
(4,979 Views)