How to set transceiver mode to 2-wire TXRDY Auto from Visual Basic

I am using a PCMCIA-485 adapter to interface to some RS-485 sensors. The sensors are connected using a 2-wire interface. I have developed an application in Visual Basic to control the various sensors. However, the application is dependent on the PCMCIA-485 adapter's transceiver mode being configured into the "2-Wire TXRDY Auto" mode. Presently I require the user to configure the transceiver mode by opening up the advanced setting dialog within the device driver for the adapter and manually setting the transceiver mode. I would prefer to have my application take care of this directly. Unfortunately, I cannot find any references that document how to do this.
Can I use Measurement Studio Tools for
Visual Basic to control the transceiver mode of the PCMCIA-485 adapter?

Hello-
There is a registry key in Windows that can change this mode:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial1000X\TransceiverMode
Try experimenting with it by hand first. It may also be necessary to reboot after changing this value.
Randy Solomonson
Application Engineer
National Instruments

Similar Messages

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How can I get the version of the GPIB driver from Visual Basic ?

    I want to readout from visual Basic which version of GPIB-Driver is installed on the PC. I must change some parameters for my application when GPIB 2.0 runs instead of 1.7.
    Thanks for any solution...

    Hi,
    The driver should create a key in registry depending on the driver version. Check for the existance of HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\NI-488.2M\ (In my case I had a folder called 2.00).
    Hope this helps out.
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • How to set to-mode to Fixed Value and give a date in RSDV transaction

    Hi
             I am working in BI7.0 environment. I am deploying HR Reporting Project. I need to load data to HR Info Cube 0PAPA_C02, to do this I need to maintain validity slice (RSDV transaction) for the Info Cube. After first load I need to set "to-mode-'Fixed Value'" and give a date such as 31.12.9999.
            Can anyone please let me know the steps on how to set- to mode to Fixed Value in RSDV.
    Thanks

    Here's the basic steps to follow:
    1) Go to tcode RSDV, enter the InfoCube name (0PAPA_C02) and Execute.
    2) If there is data already in the InfoCube you will get a validity table with default validty dates from 0CALDAY.
    3) Click on the Display/Change button so that you're in change mode and edit the validity date to be 31.12.9999.
    4) In the To-Mode column, set the value to 'F' for fixed.
    5) Put the fixed date value (31.12.9999 in your example) in Fixed to time.
    6) Click on Save.

  • How to set CAM Mode background wallpaper

    Hi forum users,
    Where can i download or find the "xv" application ?
    Thanks.
    # Yours Sincerely,
    # Mohamed Ali Bin Abdullah.
    Anthony Worrall wrote:
    In chapter 10 "Control Access Mode" of the "Sun Ray Server Software 3.1
    Administrator's Guide for the Solaris Operating System"
    http://docs.sun.com/source/819-2384/cam.html
    To Change the Backdrop
    1. Run xv (version 3.10 or later) on any desired image.
    2. Save the file as "XPM". Rename the file from <>.xpm to <>.pm.
    3. Edit the file /opt/SUNWut/kiosk/prototypes/dtsession/Dtwm and change
    the two backdrop lines to the full pathname of the <>.pm file.
    You can also place the <>.pm file in /usr/dt/share/backdrops and then
    refer to it by <> in the Dtwm file.
    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]] On Behalf Of Mohamed Ali Bin
    Abdullah
    Sent: 16 August 2006 13:14
    To: [email protected]
    Subject: [SunRay-Users] How to set CAM Mode background wallpaper
    Importance: High
    Dear SunRay Fourm Users,
    I need help regarding Sun Ray CAM mode background wallpaper settings.
    My objective is that, non-card users( DTUs ) will start the Controlled
    Access Mode. In CAM mode i don't want any application to be launch. I
    want CAM mode background shows only my wallpaper( jpg format ). Users
    with card can access the system( dtlogin ). I have set those policy in
    SunRay Web Administration Console and restart the services.
    My question is, how can i set or configure the CAM mode background to
    show my wallpaper( jpg fornat ) ?
    These are my setup environment information:
    - Sun E220( Sparc )
    - Installed Solaris 10 06/06 OS.
    - Installed latest Solaris 10 recommended patches
    - SunRay Server Software 3.1
    - Installed patch 120879-04
    - 2x SunRay 1
    - 2x SunRay 150
    - 2x SunRay 170
    I would be thankful if anyone can offer me help and guidance.
    Please let me know if you need any more information.
    # Yours Sincerely,
    # Mohamed Ali Bin Abdullah.

    Hi forum users,
    Where can i download or find the "xv" application ?blastwave.org has it for example

  • How to set Update Mode for DSO in BI7.0?

    Hi,
    As you know in bw3.5, in update rules we can set  the update mode for ods as Additive or overwrite functionality.
    But can anybody tell me where are these settings in bi7.0? or
    How to set Update Mode for DSO in BI7.0?
    Thanks and Regrards,
    Harshal

    Dear Harshal,
    GO to the tramsformations of your DSO..
    In the Rule Group..Click on any key Figure..
    this pops u a window..in which u will find  AGGREGATION ..Then u can select Either OVERWRITe or SUMMATION which suites ur requirement..
    Hope this helps u..
    Assign points if helpful..
    Best Regards,
    VVenkat..

  • HT5557 How to set Night mode on Ipad Mini iBooks apps when reading PDF file?

    How to set Night mode in iBooks (ver 3.1) for iPad Mini?

    It's not available within the iBooks app  for PDFs, the closest you can get is to the Invert Colours accessibility option  (though pictures will appear negative) -  you can set Settings > General > Accessbility > Triple-Click Home to 'Invert Colours', which means that you can then use a triple-click of the home button to go to white text on a black background.

  • How to set authorization to limint plant to craete reservation from IW32

    Please advice me how to set authorization to limit plant to create reservation from IW31 or IW32 (Maintenance Order).
    I set at M_MRES_WWA (authorization object) but it is not work.

    Hi consult.,
                      I am not very sure about the object you are using, but if it is correct(else serch for the correct object), then make a master role for the T-Codes IW31 and IW32.
    then make a drived role from the above made role, and assign the object(above searched object) in the object give the value as that of your plant, and activity as per the requirement.
    you can maintain as many derived roles as the no. of plants.
    hope it helps.
    regards,
    YK

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • How to set change mode as default for workbench objects

    Hi experts
    I've always wondered if there is a configuration option in NW BW 7 where it can be set whether double clicking a workbench object will show the maintenance screen for that object in change or display mode (default is display). Because is annoying to have to set edit mode every time one double click a workbench object in the development system, and as it is a development system, it would make sense to have edit mode by default instead of display
    I was thinking that it may be related to the client role, but who knows...
    I appreciate your help
    regards

    Not sure where this can be set...if anywhere.
    But how about this for a workaround: Right click the object in RSA1 and the select Change instead of Display.
    That would save you a click if I counted correctly

  • How to set Compatibility mode of an EXE file???

    Hi,
    I'm in a bit of a pickle, got a problem with an EXE which we need to set to "Windows 2000 Compatibility Mode" using a script.
    I need to update an existing .exe file on several hundred computers, and was planning on using Group Policy to run a VBscript on login to change the properties on that .exe file so that its in 2000 compatibility mode.
    Can anyone help me knock up a quick vbsript to do this please. I've spent some time looking, but no articles on setting the compatibilty attribute of exe files.

    Hi, you can set compatibility mode via the registry for all users under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    Create a REG_SZ value under this key with a name of the path to your exe, for example "C:\Apps\Myprog.exe" and then the value will be "WIN2000".
    You can script this by running regedit.exe to apply an exported .reg file, or to run reg.exe to create the values by running something like:
    REG.EXE ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers /v "C:\Apps\Myprog.exe" /t REG_SZ /d "WIN2000" /f
    or you could use StdRegProv, see here.
    Hope this helps,
    Rob

  • ADF - how to  set find mode programmatically

    I have implemented the simple ADF search form described within Jdeveloper 10g help.
    If the query returns no data, I want to set 'find mode', and return to the find form. Anyone know the relevant API calls?

    You could use a JSTL expression to do this.
    <c:if test="${empty bindings.<collection>.rangeSet}">
    <c:redirect ....
    </c:if>
    and redirect through a DataAction on which you've dragged the find operation for that collection, when then forwards via success back to the screen. The only thing to watch is you'll need to wrap that above <c:if> statement in a test so that it only ever executes if you're not in find mode

  • How to set a bind variable into a vo query from the current vo ?

    I would like to exclude from my list of values defined in a view object the already referenced items in the current view object content.
    Let's say i have dept and emp with a many to many relationships, I would like that the already existing dept for emp not listed (excluded) in the list of values for emp.
    Do i need to define a bind parameters and set it during search or is it possible to use an expression that will refer the current row attribute representing the dept ?
    I didn't find an example or explanation how to set bind parameters defined in a view object query from seach pages or list of values ui components. May be somebody know how to find the info.
    Thank you

    I think that bind variable accessors in the VO class is what you need. You can override the getter method of the bind variable "LocaleCode2" in order to return the first 2 chars from the bind variable "LocaleCode". Have a look at this blog post for details:
    http://jdeveloperandadf.blogspot.com/2011/03/custom-java-bind-variable-in-where.html
    Dimitar

  • How to set the value of something in a component from the main application?

    Hi,
    Maybe I've been working on this too long, but I can't figure
    out how to set the value of the text property of a text input field
    in a component from my main application in an mx:Script block. I
    have a component called Login in the components folder, and I need
    to set the text value of empNum. In my mxml declaration at that the
    top, I've declared these components as xmlns:c="components.*" So
    logically, the property I'm trying to set is c.Login.empNum.text. I
    can't figure out the correct syntax to get this to work, and I've
    tried everything I can think of. Does anyone have any suggestions?
    I'm thinking this should be an easy one, and I'm just missing
    something.
    Thanks!
    Holli

    Did you try giving it an id ?
    <c:MyLogin id="loginScreen" /c>
    So later you can do loginScreen .empNum.text = "my text"
    Laurent,

Maybe you are looking for

  • ITunes wont open at all

    A while back my HDD crashed so I got a new one. Now when you go to open itunes nothing at all happens. It's like it doesn exist. Several times I have went through every itune/ipod file i can find and trashed them and reinstall itunes but nothing diff

  • Photo editing is not working

    I am going through my last roll and removing the red eye from all photos that need it; however, after I save and move on to the next photo, the changes are lost. When I go back to the photo I just edited, it has reverted back to the original version.

  • HT1688 Is it possible to delete a phone number from Messaging history?

    Is it possible to delete a phone number from MESSAGING History?

  • Solaris 10 command-line argument to /etc/init.d/apache

    Does anyone know how to control the command-line argument sent to /etc/init.d/apache that ships with Solaris 10 11/06? # svcs *\apache\* shows Solaris is running Apache 1.3 as a legacy service with the FMRI lrc:/etc/rc3_d/S50apache. According to Sun

  • Plsql - varray in a varray doubt/issue

    Hi, My Oracle version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production "CORE     11.2.0.1.0     Production" TNS for Linux: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 -