Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

SDM-CD16-D controlling multiple AM16/32B


smb1988 Aug 1, 2013 08:38 PM

Hi All,

I am attempting to 16 AM16/32B using a SDM-CD16-D, an AVW200 and a CR1000. The SDM-CD16-D is simply being used as the Reset for the muxes However this doesnt seem to be working. Ive pasted the basic program, can anyone see where im going wrong? The muxes are clocking through but I am not receiving any readings back


Public MuxRes(16) As Boolean
Const High = True
Const Low = False

BeginProg
MuxRes(1) = True

SDMCD16AC (MuxRes(1),1,0)
AVW200(AVW_Result_1,ComRS232,0,200,VW_1(1,1),1,1,1,1700,3400,1,_50Hz,1,0)

MuxRes(1) = False

MuxRes(2) = True

SDMCD16AC (MuxRes(1),1,0)
AVW200(AVW_Result_1,ComRS232,0,200,VW_1(1,1),1,1,1,1700,3400,1,_50Hz,1,0)

MuxRes(2) = False


Many Thanks


aps Aug 2, 2013 08:23 AM

Not sure exactly what you are trying to do here but one thing to check is if your program is running in pipeline or sequential modem. If it has compiled in pipeline mode the logger basically delegates each AVW200 to go off and do the measurements itself in the background, allowing multiple AVW200s to do measurments at once.

If I guess what you are doing is to try to do is share one AVW200 between 16 multiplexers you will need to force sequential mode (use the sequentialmode command) to make the program run a step at a time in sequence with the control of the multiplexers.

You will also need to make sure each measurement is written into a unique variable as from what you have posted the results with all be written into the same variable. You should also have a scan...nextscan construct around your main code because that will confuse the AVW200 instruction in particular when running in pipeline mode.

* Last updated by: aps on 8/2/2013 @ 4:29 AM *

Log in or register to post/reply in the forum.