ngoodman Posted February 9, 2010 Share Posted February 9, 2010 I am trying to multiply the values of two channels together to form another channel using maxweight = maxw(0) * length1(0) All I get returned is zero though i am displaying correct values for maxw and length1 any ideas ? this seems such a simple thing to be trying to do ????????? I even tried an intermediate variable and still got a zero returned Link to comment Share on other sites More sharing options...
AzeoTech Posted February 9, 2010 Share Posted February 9, 2010 the format is [0] not (0). (0) would tell DF to look for a function called maxw and length1 and pass 0 as the parameter Link to comment Share on other sites More sharing options...
ngoodman Posted February 10, 2010 Author Share Posted February 10, 2010 Thanks that works now!!! another question I have a text field that I would like to have the facility to scan a bar code into using a Keyboard wedge type scanner. how do i avoid having to select the field before scanning ? Is there a sequence I can add when the page loads to put the focus on the text object - named user1 in this program? thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted February 10, 2010 Share Posted February 10, 2010 I know customers have somehow gotten wedge type scanners to work, but truthfully, I would recommend just buying a serial based one. Those are real easy to use in DAQFactory. Presumably USB based ones use a USB/serial converter internally, so probably would work as well. If you really have to use the wedge, you might try using the OnChar system event to capture it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.