How to read CAN interface through nisyscfg.lvlib

I need to read the CAN interface assigned to my NI-USB 8473 CAN-to-USB controller within NI's System Configuration (MAX). 
The purpose is to programmatically identify the NI-USB hardware device attached to the PC, read the CAN interface assigned to it, and use that in LabVIEW instead of manually checking NI MAX after the controller is disconnected and reconnected or using it on a different PC etc.
Using LabVIEW's VI's found through 
Measurement I/O - System Configuration                    I
Initialize, Get Experts, Find Hardware                         and get:
Expert = nisyscfg
VendorName=National Instruments
ProdName=USB-8473 (High-Speed CAN)
IsNI=true
IsPresent=1
Is there a property for the CAN Interface?  If so, where is it found?
Is there a different way to accomplish the same thing?
Thanks, Scott.Pierskalla

This was the best I could do.
http://forums.ni.com/t5/LabVIEW/Get-CAN-Bus-Ports/td-p/2174296
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • How to read Sender Interface name in adapter Module in PI 7.31

    Hello All,
    I am working on Adapter module .it accomplish to generate file with message id,message key ,sent time,received time,FromService(Business system names),toServiece(Business system name),sender interface name,receiver interface name .
    i got all details in my file by calling module data by method get principal data,but i am fail to get sender interface in that file .
    can you please guide me how to get sender interface name in adapter module.
    I am getting some information from this following blogs
    https://scn.sap.com/thread/1583665
    How to read Sender Interface name in Adapter module
    but i am facing same error what they faced.
    Please guide me to how to get sender interface name in adapter module.
    Thanks
    Ganesh

    Hi Ganesh
    Write a module in the sender adapter and use this piece of code
    Message mes = null;
    mes = (Message) inputModuleData.getPrincipalData();
    String SI = mes.getAction().getName();
    Also you can read the same by creating a UDF in message mapping
    Following is the code
    InputHeader inputHeader = container.getInputHeader();
    String SI = inputHeader.getInterface() ;

  • How many clients can connect through cisco AP 1310 in wireless network ?

    I had setup wireless network with
    wlc4402,cisco AP 1310.1131 and 1242 and Cisco acs 4.1.My problem is only 30 clients connect through Cisco AP 1310 at a time.I can not connect more than 30 clients at a time.What is the issue in wireless network?please reply .
    Thanks and regards
    By
    D.Anbudurai

    WIRELESS > 802.11 > RRM
    How can do that setting ? Can you reply with
    some brief steps? And also I want to know how
    many clients can connect in wireless network at
    a time exactly through cisco aps?
    Thanks and regards
    d.anbudurai

  • Read CAN Interface of USB-8473 by programmation

    Hello,
    I'm looking for an example to obtain the CAN interface name of my card usb-8473. I've developped an application for colleagues and I don't know the CAN interface name they use (CAN0, CAN1, ...). It will be great if I could read this name in my application, to correctly set the object name of the CAN communication I'm configuring and opening.
    As joined, an example I've started but I cannot finish.
    Data location in MAX:
    I'm working with:
    LabVIEW 2012 SP1 (12.0.1f3), 32 bits
    MAX 5.4.0f0
    NI-CAN 2.7.4
    Thanks,
    Francis M | Voir mon profil
    Certified LabVIEW Developer
    Solved!
    Go to Solution.

    Find the attached code.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Device Identification Prototype.vi ‏15 KB

  • How to read write excel through BPEL

    hi,
    how to read write excel file from BPEL process; is there any adapter available for excel specially.

    Hi,
    there is no adapter provided from Oracle.
    I think you have to write a .NET webservice, which accomplished this for you....

  • How to read Sender Interface name in Adapter module

    I have a need to read the Sender Interface name in an adapter module that will be attached to a Sender SOAP channel. Any ideas on how this can be done.
    I am familiar with the following code construct from the docs
    Hashtable mp = (Hashtable)inputModuleData.getSupplementalData("module.parameters");
    fileName = (String) mp.get("FileName");
    What is the key name (in the hashtable) for Sender Interface name ? The docs seem to be silent on this
    I dug around some and found references to "mp.context" and "message.interface". I guess I could just test this out but I dont have deploy access and I dont want to keep asking the BASIS group to deploy the module while I play around with different combinations...
    So would the following work
    Hashtable mp = (Hashtable)inputModuleData.getSupplementalData("mp.context");
    interfaceName = (String) mp.get("message.interface");
    Thank you
    Anil

    Hi Anil,
    I am not sure of how to get the Sender interface name. I even tried the code that you suggested above. It gave me a null pointer exception.
    I think instead of Sender Interface name you can decide upon the Sender System/Service.
    To get the Sender System Name:
    Object obj = null;
    Message msg = null;
    obj = ModuleData.getPrincipalData();
    msg = (Message) obj;
    String SenderSystem = msg.getFromService();
    Here based on the sender system you can do your partner specific processing in Proxy. Instead of Sender Interface Name.
    Hope this helps
    Regards,
    Aravind

  • How to read mq message through jms

    Hi
    can anyone tell me how we can read an mq message through jms transport or by using jms adapter.
    Thanks in advance.

    A JMS program will be written typically to lookup administered objects ( namely connection factory and destination) from a jndi tree and use these to connect to the jms provider and read/write message to the destination. So administrators of the JMS provider usually create these objects and bind it to a jndi , which then can be used by the jms applications by doing a lookup from the jndi tree.
    Websphere MQ is a messaging provider which provides a native MQ API in many languages including Java for applications to talk to it. This is a IBM proprietary API and is not same as JMS. Later when JMS became more interoperable and the standard for java based messaging applications, IBM introduces the MQ JMS API which is a wrapper around the native MQ API, so that now java clients can talk to MQ using the JMS API. Since jms applications need to lookup the administered objects, IBM came up with the utility called JMSAdmin which allows MQJMS administers to create and bind JMS administered objects. The utility is flexible that it allows the objects to be binded to different type of JNDI trees - file based, ldap based etc. But the most widely used and robust one is the file based.
    So as part of configuration the first thing is to create the queue and queue manager objects by the MQ Administrator.
    A MQ JMS administrator will then create the JMS wrapper objects using the JMSAdmin utility and bind it to the file based jndi tree ( a file called .bindings)
    Now we need the application running in weblogic server ( the JMS Adapter ) to lookup these objects from the file based jndi tree. So for this we create a foreign jms server. A foreign jms server allows to create local jndi links (in weblogic's server jndi tree) for objects in a remote jndi provider (the .bindings file).
    Finally the application will look up the local jndi name from the local jndi which will automatically resolve to the remote provider and use it.
    The steps in the IBM developer work link folliows this sequence.
    Hope this helps.

  • How to control RS232 Interface through LABView?

    Does LABView have the ability to control RS232 Interface? If it does, what version of LABView has this capability? The LABView versions that we have in the company are 7.2 and 8.1 only. The operating systems that we have are Windows and Linux.

    i have a question i am wanting to control an rfid reader/writer that has a  RS232 or USB connection through labview. Here are some specs on the product. is this possible for it to work.
    Key Features
     Fast data transfer
     Supports multi-detection
     ANT1015A for wall or desktop 
    mounting
     Baud rate: 19,200bps, N, 8, 1
     ABS housing
     RS232 or USB connection
     IP40 protection rating: waterproof 
    and dustproof
    Technical Specifications
    Frequency 13.56MHz
    Technical certificates CE, FCC
    Power requirements 12V DC, 300mA 
    Display 3 status LEDs
    Read/write distance 30cm, with ISO 15693 compliant transponders
    Technical Certificates CE, FCC 
    Antenna connection RP-SMA 50ohm
    Transponder compatibility HF, ISO 15693 compliant transponders
    Operating temperature 0 to 60°C
    Storage temperature -20°C to 70°C
    Humidity 10% to 90% relative
    Dimensions 345mm × 240mm × 20mm (L ×  W × H)
    The link below will take you directly to the product.
    Hf Rfid
    Attachments:
    13.56 MHz. High Frequency (HF) Reader RFID Writer with Antenna.pdf ‏389 KB

  • How to read the pdf through XML in background

    Dear Experts,
    I need to pass the value of PDF forms  stored in directory  into R/3 through XML..In foreground it is working perfectly but in background i am facing problem in ADS connection.
    Regards,
    Amitav

    Hi,
    Can You give the code for debugging.
    Thanks,
    Shiva
    Edited by: Shiva GuruNathan on Sep 21, 2009 9:01 AM

  • How to read a role through a position?

    In a program I need to find the function and organizational unit to a position which he belongs, with the FM "RH_STRUC_GET" I find the organizational unit with the way of evaluation "Wegid = A003" but when I try to find the function "Wegid = B007" does not work, let me know if there is any FM allows me to search function through the position.
    Thanks in advance.
    Raymond.

    HRP1001 I check the table, this table has a field called "SCLAS" this field when it contains "C" is a reference to the function, when I check this entry in the table has "RSIGN = B" and "relative" = 007 "But when I run the FM" RH_STRUC_GET "with" WEGID = B007 "throw me a message saying Structure 01 S 50037829 B007: No user responsible
    Is there another way to find the function through the position?

  • How to read BLOB column from a table in SQL or PL/SQL

    I have table which is having one BLOB data type column . Ihave inserted few rows in that table . Now i want to see wheather BLOB column has been inserted properly or not . How to read that column through SQL or PL/SQL.
    Can anyone help me to do this.

    You can only manipulate LOBs in PL/SQL because you have to use the DBMS_LOB package.
    Check out the Oracle Developer's Guide

  • How to read .xml file from embedded .swf(flash output) in captivate

    I have been trying to read .xml file from the .swf (Flash output) that is embedded within the captivate file but no luck yet . Please if anyone got any clue on how get this thing done using Action script 3.0 then let me know. I am using Adobe Captivate 5.5 at present and Flash CS 5.5.
    I am well aware about how to read .xml file through action script 3.0 in flash but when insert the same flash in captivate and publish nothing comes in captivate output. I would higly appreciate if anyone could help me out with that.
    Here is is graphical demonstration of my query :
    Message was edited by: captainmkv

    Hi Captainmkv,
    Does the information in this post cover what you're trying to do: http://forums.adobe.com/message/5081928#5081928
    Tristan,

  • How can i extract data strings (temp. press. rel.hum etc) using a Virtual interface through an RS-232 connection​?

    How can i extract data strings (temperature, pressure, relative humidity etc) using a Virtual interface through an RS-232 connection?

    Try this.  It is in LV 8.5.
    Note the double % in the format string.  This is so the % in the input string is treated as a percent rather than a code.
    You may also have to work with the line feed characters in case they are different in the string coming in compared to how the string shows up in the web browser.
    Message Edited by Ravens Fan on 02-12-2008 10:19 PM
    Attachments:
    Example_BD.png ‏4 KB
    Untitled 11.vi ‏9 KB

  • Labview misses a read when using Ni USB 8473 can interface

    I was wondering if anybody here has had experience with this problem... I already talked to a Labview tech but i have not received an answer yet...
    This is my problem..
    I have a program that  when a button is pressed, it initializes a can interface to CAN0 for example, then it writes... then it waits about 100mills and then it reads... My computer is connected to a simulator through the USB 8473 interface (I have the problem when I connect it to the hardware I am going to use), and everytime I write, this simulator sends a response... The problem is that sometimes I don't see a response... I have made sure that the simulator responds so I know it is responding... I have changed the waiting time before the read from 1 mills to 100 mills to 1 second, and still with the same result... 
    The way I have fixed this problem is by reading multiple times (3 times)... so every time I send a request, i wait 100 mills... then I read once, wait 25 mills, then read again, wait, then read again....
    So, I wanted to know if anybody here has had to do this in order to get around this problem...???
    The reason why I was asking this is because I also have another application that has to monitor my hardware by sending requests every 100 milliseconds... so I have two loops, once that writes requests every 100 mills... and another that reads the responses every 20 mills... but sometimes it looks like eventhough i read this many times, I still miss some frames, which are caught later but still not good enough...
    I have posted a different thread about the above problem...
    If you have questions just ask please...
    Thanks

    Yes, by Labview tech i meant NI Support... sorry about that...
    I am still waiting for them on this subject...
    I'll attach a simplified version of my code (the only difference between this code and the original is that i parse all the data that i get...)
    I am attaching these if a couple replys... 
    Run the receive and respond (simulator) then run the CAN_PROBLEM vi... click on the OK button to write then read... you can tell it missed the message when the Frames to Read field is 0...
     how are you sure that you device is sending a response?
    Very sure... 100%... the original simulator lets me know when it sends the response...
    Can you run bus monitor on another port, ie another USB-CAN device?
    I did that, and the other USB-CAN gets it... the program I am running on the other computer is called CANyliser... I think that program waits until there is something in the queue (which I am not doing with mine)... I am just reading after I have wrote teh message (reading after about 100 mills I wrote)... So I am assuming that's plenty of time... i have increased this waiting time to 1 sec and still get the same behaviour...
    Attachments:
    CAN_PROBLEM.vi ‏16 KB
    ReceiveAndRespond.vi ‏17 KB
    CAN INIT.vi ‏23 KB

  • I am trying to restore my calendar from my Time Machine backup. I can get through the process, but at the end I get a message that Calendars cannot be amended as it is required by OS 10. There is no facility to authorise a change. How do I get round this

    I am trying to restore my Calendar from my Time Machine back up. I can get through the process but at the end I get a message that Calendars cannot be removed or amended as it is required by OS10, there does not appear to be any option to authorise the backup or change. How can I get round this roadblock?

    I am trying to restore my Calendar from my Time Machine back up. I can get through the process but at the end I get a message that Calendars cannot be removed or amended as it is required by OS10, there does not appear to be any option to authorise the backup or change. How can I get round this roadblock?

Maybe you are looking for

  • Box in layouts

    i the first page i wrote: position.... box 30 tw somting like that an i get box. in the <b>next page</b> i wrote exactly and i dont get page why?

  • How to get  the date of the day or eeven the hour

    hi! i am interested in a function or a class that allows me to get the day date and that allows me too tp specify its format like : mmddyyyy or ddmmmmyy and so on .... can you please help me ! thanks

  • Strange Error in STO

    Hi I am facing strange Error in STO. I have 2 plants  2001 at Pune and 2004 at Nashik.I want to do STO from Nashil to Pune. Accordingly in config for STO I gave supplying Plant as 2004  and receiving plant as 2001. Then I manitained delivery type NL

  • A new Java Student in need of help

    I am new to this Java language and while so far I have found it to be quite easy I have now come up against a program that is giving me some problems. Our teacher has given us this program that had a bunch of errors and we had to find them and also c

  • Pie chart out of check boxes table

    Hi, Another thing that is bugging me! I have a few tables with check boxes. I would like to make a pie chart out of the false/true conditions of the check boxes in the table. My pie chart always results in a 100% value, no matter what the check boxes