SacArea-BayDeltaProjects / HydroRDITemplate

CR1000 and CR6 Datalogger template for RDI ADCPs
2 stars 0 forks source link

#CL Binary command for ADCPs #54

Open violetteta8 opened 5 years ago

violetteta8 commented 5 years ago

There is a command that allows one to send a single string of binary commands to a Doppler followed by a CS. We were considering making a second USR file that contains the Doppler settings (pulled in the original .pd0 ensemble) in a binary format. At that point we could read in the settings upon an instrument swap and have the datalogger send all the commands in a single string to reboot this system.

We found a function in CRBasic that seems that it will transform a Long variable into Hex. Related instructions in CRBasic are called "Hex" and "HexToDec".