This post is under review.
Hi,
I post it again because not sure why the first post went under review after edited it.
We cannot get our first set of CR1000Xe running with CR1000X program.
Everything works fine after we replaced the CR1000Xe to a CR1000X into the set up. So we can confirm the both AVW200 and the 3 set of multplexers are in good condition. We suspect the CR1000Xe did not open the serial port to communicate with the AVW200, there is no clicking sound coming from the multiplexers. All frequency readings are '0'.
At the beginning , all the AVW200 and the multiplexers were power by a single 12V on CR1000Xe. Then we thought could be the power not enough to power them, so we switch the 3 set of multiplexers to a SW12, but it still does not work.
We cannot find what is the cause. Does anyone know what is the fault that caused this issue?
Please help.
Thanks in advance.
'Declare Public Variables
Public PTemp, batt_volt
Public DST(96,6)
Public VWHz(96)
Public AVW_Result(4)
'Declare Other Variables
Dim x()
'''Define VW Data Tables
DataTable (LOGGER_VW,1,-1)
Sample (1,batt_volt,FP2)
Sample (1,PTemp,FP2)
Sample (96,VWHz(),IEEE4)
Sample (3,AVW_Result(),FP2)
EndTable
'Main Program
BeginProg
SW12 (SW12_1,1 )
Scan (3,Min,0,0)
PanelTemp (PTemp,250)
Battery (batt_volt)
'''Start of MUX #1 and #2
SerialOpen (ComC1,38400,0,0,10000) 'Turn on ComC1 (C1-C2) for direct communication with AVW200.
AVW200 (AVW_Result(1),ComC1,0,200,DST(1,1),1,1,32,Start_Freq_Mux1,End_Freq_Mux1,2,_60Hz,1,0)
For x = 1 To 32
VWHz(x) = DST(x,1)
Next x
AVW200 (AVW_Result(2),ComC1,0,200,DST(33,1),2,1,32,Start_Freq_Mux2,End_Freq_Mux2,2,_60Hz,1,0)
For x = 33 To 64
VWHz(x) = DST(x,1)
Next x
'''Start of MUX #3
SerialOpen (ComC3,38400,0,0,10000) 'Turn on ComC3 (C3-C4) for direct communication with AVW200.
AVW200 (AVW_Result(3),ComC3,0,201,DST(65,1),1,1,32,Start_Freq_Mux3,End_Freq_Mux3,2,_60Hz,1,0)
For x = 65 To 96
VWHz(x) = DST(x,1)
Next x
CallTable LOGGER_VW 'Store a set of readings
NextScan '''End Scan
EndProg
Thanks,
TLT
If PakbusEncryption is enabled on the data logger in settings, that would prevent talking to the AVW200 modules unless you add EncryptExempt() to the program.