From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

React to broadcast events in TestStand

Hello,

 

Is there a way in TestStand to react to broadcast events of the DQMH or must always be used the type "Request and Wait for Reply" in order to get, for example, results from measurements? In the Thermal Chamber example, the latter is used.

 

Best regards

 

Nils

0 Kudos
Message 1 of 5
(3,508 Views)

Hi Nils,

 

You can only use the request and wait for reply. If you want to use your DQMH API Tester as a sniffer, you can create a step that calls both the broadcast and the "request and wait for reply".

 

Regards,

Fab

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
0 Kudos
Message 2 of 5
(3,472 Views)

Hi Fab,

 

Thank you for your reply. I have experimented with "Obtain Broadcast Events for Registration.vi". Thus, at least it's possible to react to error messages in a parallel thread.

 

Best regards

 

Nils

Message 3 of 5
(3,453 Views)

Interesting.

 

Please share your experiments when you get a chance. 

 

In version 3.0 of DQMH, we added the error as part of the Reply in a "Request and Wait for Reply" event to ensure error broadcast was not needed in these situations. We would like to see how you handle errors on a parallel thread in TestStand.

 

Thanks,

Fab

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
0 Kudos
Message 4 of 5
(3,449 Views)

Hi Fab,

 

if I have a viable and generic solution, I will share it here. However, it will take some time before other functional aspects have priority.

 

Best regards

 

Nils

0 Kudos
Message 5 of 5
(3,426 Views)