Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/01/2013 in all areas

  1. Gotcha. Yeah, that's a potential code smell -- stringly-typed rather than strongly-typed prototypes. Now, your ctors and methods are subject to run-time errors.
    1 point
  2. I recently did something pretty similar-- each channel represented by a class, with a variable number of different condition check objects stored in an array in each channel class, all configured via a spreadsheet file. I went the route of create a manager class that would iterate through all the channel object condition checks and at the end decide what action to take. My approach would have the condition checks classes send messages to "DO output" actor / loop. The DO output loop holds on to the actual DAQmx task, and it can decide when and how to set the digital outs. You could cause the DO object to set lines only every 100 ms or whatever, and then at that time determine what to do based on what messages it received in the last 100ms
    1 point
  3. You can resize the XControl by controlling it's bounds. Do not use the Facade VI ref, but the container ref availalbe in the facade VI: Ton
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.