LabIML handles analogue data – how do I switch digital outputs?
LabIML works by sending and receiving ASCII strings of characters; it does not expect digital data. When our hardware set-up program, SetupIML, sees an instrument being handled by LabIML – it therefore assumes all its channels are analogue. You can circumvent this by editing the hardware setup file (*.ims) by hand. • Use Windows Notepad to open the file. • Find the appropriate channel (to find a channel’s number open the ims setup file in SetupIML, select your channel and look at the status bar). • Change the channel letter to a T (T signifies a digital input and output channel). • Save and close the file. (Be careful not to make any other changes, and save a backup before editing.) If you use SetupIML again, it will reset the file and you will have to edit manually again. For example: an analogue output channel called Channel 00002, configured by SetupIML, might have the following settings in its ims file.