DIAdem Help

Variable: BlNISignal

  • Updated2024-09-12
  • 1 minute(s) read

Variable: BlNISignal

Receives the signal name of the signal from the MAX.

Definition BlNISignal(i), String variable
i = 1 ... 256
The following example opens the outputs of an NI-DAQ block and sets the list length to two. Then the example assigns names, activates the signals, and connects the signals with the names in MAX.
Call DACObjOpen("NIDAQ-In1")
  Call DacObjOpen(BlPinOutpData(1))
    Call BlPinSigCountSet(2)
  Call DacObjClose(BlPinOutpData(1))
  BlNISignal(1)="USB-6009 Channel1"
  BlNIActive(1)="Yes"
  BlNISignalName(1)="Signal1"
  BlNISignal(2)="USB-6009 Channel2"
  BlNIActive(2)="Yes"
  BlNIsignalName(2)="Signal2"
Call DACObjClose("NIDAQ-In1")

Used by

MAX Signal List (NI-DAQ) | Program Variables in Commands

Log in to get a better experience