AnsweredAssumed Answered

vrf FISCAL WEEK FORMULA

Question asked by VRFuser on Aug 3, 2006
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=us-ascii"><META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD><BODY><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>I am using Vee 5.01 and am having trouble with I/O or timeout occurred errors (Error number: 811) in Direct I/Os for an RS232 com port. The serial device itself (IES 8-Port RF Switch) requires;</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006></SPAN></FONT><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Bits per second: 9600</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Data bits: 8</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Parity: None</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Stop bits: 1</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Flow Control: None</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>with 50 ms minimum/100 ms preferred between successive switching commands.</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006></SPAN></FONT> </DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>I have set up my Switch Serial (@1) Direct I/O like this;</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>General tab</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Timeout (sec): 5</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Live Mode: On</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Byte Ordering: MSB</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Serial tab</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Baud Rate: 9600</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Character Size: 8</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Stop Bits: 1</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Parity: None</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Handshake: None</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Receive Buffer Size: 4096</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Direct I/O tab</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Read Terminator: "
"</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>   Write</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>      EOL Sequence: "
"</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>      Multi-Field as : Data Only</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>      Array Separator: ","</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>      Array Format: Linear</SPAN></FONT></DIV><DIV><FONT face=Tahoma size=2><SPAN class=605402620-03082006>Plug&play Driver tab</SPAN></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2> <SPAN class=605402620-03082006>  Plug&play Driver Name: Unknown</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>   Parameters to init() call</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>      Address (e.g. GPIB-VXIO::12::INSTR): ASRL0::INSTR</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>      Perform Identification Query (checked)</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>      Perform Reset (checked)</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>Panel Driver tab</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>   ID Filename: (blank)</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>   Sub Address: (blank)</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>   Error Checking: On</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>   Incremental Mode: On</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006></SPAN></FONT></FONT> </DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>An example of the commands in the Switch Serial (@1) Direct I/O for switching to 1N and 1F ports:</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>WRITE TEXT "RFS1N" EOL</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>WAIT INTERVAL:.5</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>WRITE TEST "RFM1F" EOL</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>WAIT INTERVAL:.5</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>I have 16 User Functions that use similar Direct I/Os for switching between the various port combinations on the IES switch, the command syntax in lines 1 and 3 changing accordingly.</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006></SPAN></FONT></FONT> </DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>The error appears to occur randomly in time and randomly among the 16 User Functions, but always in line three of erring the Direct I/O.</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006></SPAN></FONT></FONT> </DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>I have tried increasing/decreasing the WAIT INTERVAL to no avail. I have tried to slow down the PCs serial port through SettingsDevice Manager to no avail. If the IES Switch requires no Flow Control and Direct I/O is set up for</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006>no Handshake, how/why does Vee detect a timeout? I would think Vee would send data out over the RS232 and keep going, not caring if the serial device is responding. Any help or ideas?</SPAN></FONT></FONT></DIV><DIV><FONT face=Tahoma><FONT size=2><SPAN class=605402620-03082006></SPAN></FONT></FONT> </DIV><DIV align=left><FONT face=Tahoma size=2>Best regards,</FONT></DIV><DIV align=left><FONT face=Tahoma size=2>Tim Pimentel</FONT></DIV><DIV align=left><FONT face=Tahoma size=1>Senior Lab Tech</FONT></DIV><DIV align=left><FONT face=Tahoma color=#ff0000 size=2><STRONG>ADC</STRONG></FONT></DIV><DIV align=left><FONT face=Tahoma size=2>Suite 220S</FONT></DIV><DIV align=left><FONT face=Tahoma size=2>7600 East Orchard Road</FONT></DIV><DIV align=left><FONT face=Tahoma size=2>Greenwood Village, CO 80111</FONT></DIV><DIV align=left><FONT face=Tahoma size=2>720.344.6320</FONT></DIV><DIV align=left><FONT face=Tahoma size=2>720.344.6305</FONT></DIV><DIV align=left><FONT face=Tahoma size=2><A href="mailto:tim.pimentel@adc.com">tim.pimentel@adc.com</A></FONT></DIV><DIV> </DIV><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@agilent.com".  <BR>If you need help with the mailing list send a message to<BR>"owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></HTML>  

Outcomes