Labview - LIN Goepel 3072 - Example code

Is there example code for managing with Labview the LIN communications with the Goepel card PXI3072?
I've bought the card to Goepel (it's indicated on the NI web) but I've only one sample and the manual guide, I'm searching on the forums but I don't find additional support.
If someone can help me ...
Thanks,

Hi Ihb,
You should have found some examples along with the Drivers provided in the CD which comes along with the card. If not, you can contact Goepel and they can provide them.
Also, using the card is not that difficult. As long as your header command construction is ok, you should not have problems since this is the basic foundation for sending commands to the card.
Regards,
Ashm01

Similar Messages

  • Join the LabVIEW Example Code Contest and Get a Chance to Win an iPad!

    This October, we are holding the LabVIEW Example Code Contest 2010. LabVIEW users can demonstrate the cool things they've been able to accomplish with LabVIEW by submitting new example code. The best example code wins an iPad.
    Each participant can submit as many entries as they want as long as they fall under at least one of the following categories:
    Data Acquisition
    File I/O
    Math/Analysis
    User Interface Controls
    VI Server/Scripting
    Games
    Submissions will be accepted from October 1 through 17. Judges will choose finalists for each category, then the NI Community will vote for their favorite example codes. Father of LabVIEW Jeff Kodosky will choose the overall winner.
    Read the rules, ask questions, and submit your entries in the LabVIEW Example Code Contest 2010 Group

    The submission deadline has been extended to Monday, October 25

  • Goepel PXI3072 - LIN - Example Code

    Is there example code for managing with Labview the LIN communications with the Goepel card PXI3072?
    I've bought the card to Goepel (it's indicated on the NI web) but I've only one sample and the manual guide, I'm searching on the forums but I don't find additional support.
    If someone can help me ...
    Thanks,

    Hi ihb, for additional examples you should contact Goepel, also you pasted the forum on the Spanish community, you will have more replies in this topic if you paste it in LabVIEW forum
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Where can I download LabVIEW example codes for NI PCI-6014

    I bought an PCI-6014 DAQ device, please tell me where I can download the LabVIEW codes for this device.

    Hi,
    If you have labview package, you can find lot of examples there.
    Start Labview -> Help Menu -> Find Examples-> Hardware input and output -> DAQ -> Here you either you can go to analog input -> then general -> search vi as per your requirement.
    Or you can use timer/counter/digital input & output example vi from here.
    Hope it helps. Your feedbacks are welcome.
    Best Regards,
    Nirmal

  • How can i find 8451 & I2C example code.(Labview 7.1)

    How can i find 8451 & I2C example code.(Labview 7.1)
    ! will have to commuicate Data Read and Write
    (USB-8451 &  I2C(ST24C16) direct connection status)
    I want to Detail text and VI Example.
    Thank you.
    [ps] [email protected]

    If you installed the NI-845x driver, it should have installed in LabVIEW examples in the Example Finder. These will be configured for the 8451 but not necessarily your specific I2C device. The examples are located in the Hardware Input and Output»I2C and SPI folder in the Browse view of the Example Finder. I hope this helps!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments

  • Example code labview rt8.0

    Does example code exist to connect to a remote PXI chassis running LV RT 8.0? 
    I would like to access a DAQmx compatablie card using an executable running on a laptop.  The laptop would be connected to the PXI chassis using a TCIP crossover cable.  The executable would use the remote DAQmx card on the PXI RT chassis.  This is a piece of cake to do in LV 7.1. In LV 7.1 when the executable is launched on the laptop, a choice of execution target is given.  I can select Labview windows, or "150.254.0.2" real time controller.  When "150.254.0.2" is selected, the application loads via TCIP to the PXI controller and runs.  The front pannel VI stays open on the laptop allowing the button pushing or text entering, whatever is needed to make the program happy. This is then run on the PXI controller with no problems.
    See application note:  http://zone.ni.com/devzone/conceptd.nsf/webmain/81​B6674F3556599B862568CF005D26C6
    How to do in LV 8.0 please?  Thanks. 

    Hello Takata:
    You are right. This option existed in 7.1 but no longer exists in 8.0. This is due to the massive internal differences between the way 8.0 and 7.1 work. As of right now there is no example code that exists currently to do this. We are working on a utility that will accomplish this and will notify as soon as it is complete. However, as of now the same thing can be accomplished by using FTP and VI Server. Basically a wrapper VI around the executable that would download the files to the target and run them dynamically.
    We apologize for the inconvenience related to this issue and are trying our best to come up with a solution soon.
    Best Regards,
    Jaideep

  • How do I get labview to send out ascii code to a device?

    I am trying to use a device that does not have labview drivers. However, the company has sent out their own program but it is two letter ascii code. I want to make the interface easier than having to learn all the ascii codes when one wants to do something. How would I go about programming labview to send out ascii code to move my device?

    Are you asking how to communicate with the device or how to allow user to select from easily understood commands?
    If you need help communicating, look at the communication examples that ship with LabView. I'm guessing that your device is serial. To find the examples, from any LabView window, goto Help >> Find Examples >> Search, then enter Serial in the box labeled Type a keyword to find:
    If you want to help the user pick a command, there are a bunch of ways to do this. Most typical are using a ring or enum on your front panel and doing the translations from user commands to machine commands on your diagram. Look at the attached LabView 6.1 example which shows a ring and an enum. To initialize the enum or ring, select the text tool and left-click on the
    control, then enter your text. To add more items, right-click on the control and select Add Item After (or Before) and type the text for the new command. The diagram will see the output as a number. Use that number to select an index from a multi-line string or to select a case in a case structure. One nice thing about the enum is that the cases are automatically named with the enum string. An easy way to get cases for all items is to put a string constant in the first case, wire it out of the case, then right-click on the case boarder and select Duplicate Case. You'll get a new case named for the next item with a string already wired out. Then you can just edit the string text in each new case for the desired output.
    Attachments:
    PickCommand.vi ‏33 KB

  • Has anyone got the Comsoft Profinet example code working??

    Hello!
    I have a cRIO Profinet card and I'm attempting to get the example code working.
    I have followed the instructions in GettingStarted_cRIO_PN_IO_Device.pdf
    I have created an empty project with just the 9023 and 9113 present, and copied the 3 items from the example project cRIO PN IO-Device (LV 2012) as per the documentation.
    When I try to compile I get the error shown attached.  I cannot view the error as the VI is password protected.
    In 5 years of working with cRIO using many different c-series modules from NI and 3rd parties I have never come across a password protected example Vi - this is very disappointing!  I don't see how it will be possible to use the card without being able to access this VI, and clearly it is impossible to use it without this VI as they are unwilling to share its functionality.
    Has anyone got this working on anything other than a 9104 (which the example uses?)  Does anyone know the password?  Is it possible to use the card without using this example code?
    I will be communicating with a Siemens PLC (acquiring a load of U16s and logging on the cRIO at 20ms intervals).
    Many thanks for any input, or any experiences of using this card.
    Aaron
    LabVIEW/RT/FPGA 2012
    NI-RIO 12.0.1
    cRIO 9023 controller and 9113 chassis with COMSOFT PN module in slot 1.
    Attachments:
    PN_error.png ‏44 KB
    PN_error2.png ‏20 KB

    Just for the record, I am using the CRIO-PN with cRIO-9081 and cRIO-9068 integrated chassis successfully.
    LabVIEW (RT/FPGA) 2013 SP1.
    I didn't use the higher level ComSoft example code directly, as the VIs use so many control/indicators that the FPGA usage is sky high. I rewrote them to pass the I/O data via DMA FIFOs.

  • Problem when using IRoomInfoReader/IRopomUsers in SDN example code

    Hi I am working on EP 6.0 SP2 P31, KMC 6.0 SP2 P31 and making Room development with NW Developer Studio. From https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/knowledge management and collaboration developers guide.html  I got the room extension example in com.sap.netweaver.kmc.roomextension.zip. I just add a ON_AFTER_CREATE_ROOM and code for handling this event before adding
    IRoomInfoReader roomInfo = (IRoomInfoReader)context.getValue(RoomExtensionParameter.ROOM_INFO);
    or
    IRoomUsers roomUsers = (IRoomUsers)context.getValue(RoomExtensionParameter.ROOM_INFO);
    (in order to retrieve the newly created room’s owner's id)
    The example code is working, the extensions are visible, they can be added to our room template and room can be created successfully with this template.
    After adding one of these two commands program stops just before this command line and there is no error message recorded in the log file.
    Does this KMC release version support using these two interfaces? Thanks for help.
    Best regards.
    Wang

    Hi Wang,
    as a lucky guy working on SP2, you have all logs at hand - did you check both \usr\sap\<id>\j2ee\j2ee_00\cluster\server\managers\console_logs\...error.log as well as \usr\sap\<id>\j2ee\j2ee_00\cluster\server\managers\log\portal\logs\knowledgemanagement.x.log ?!
    Did you try to log extensively? try/catch every Exception?
    Both interfaces do exist on SP2 P31.
    Did you check which class context.getValue(RoomExtensionParameter.ROOM_INFO) in fact produces?! (If not null, ask for .getClass().getName().)
    Hope it helps
    Detlev

  • Indexed Property Example Code

    Is there an example out there for a Java Newby - I am trying to save data in an array - that is using the indexed property in a SessionBean.
    I have then added the indexed property and bound the value to it:
    * Indexed getter for property rule.
    * @param index Index of the property.
    * @return Value of the property at <CODE>index</CODE>.
    public Long getRule(int index) {
    return this.rule[index];
    * Indexed setter for property rule.
    * @param index Index of the property.
    * @param rule New value of the property at <CODE>index</CODE>.
    public void setRule(int index, Long rule) {
    this.rule[index] = rule;
    public String button1_action() {
    setValue("#{AdminBean.rule[1]}", selector.getValue());
    I am getting the followong error:
    Exception Details: org.apache.jasper.JasperException
    Error getting property 'rule' from bean of type magicwheel.AdminBean
    Possible Source of Error:
    Class Name: org.apache.jasper.servlet.JspServletWrapper
    File Name: JspServletWrapper.java
    Method Name: service
    Line Number: 384
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Can anyone help, possibly with some example code?
    Thanks,
    Nils

    public String button1_action() {
    setValue("#{AdminBean.rule[1]}",
    selector.getValue());
    How about
    getAdminBean().setRule(1, selector.getValue());Assuming that selector.getValue() returns a Long and that AdminBean is either an Application, Session, or Request Bean.
    Best regards
    Antonio.

  • VISA or IVI drivers, example code?

    Hello,
    I have an Agilent DSO-X-2004A oscilloscope and I've downloaded two different set's of drivers that work. Here are the links to the drivers.
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=9E84674573AF6AB8E0440021287E6A...
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=A661BD7B892F06B2E0440021287E6A...
    The first one is the Agilent 2000 3000 4000 X-Series drivers, that require only NI VISA-4.6
    The second is the Agilent agx2k3k Oscilloscope drivers, that require NI VISA-4.6 or IVI Compliance 4.3
    The second one has example codes, which are VERY helpful for me since I am new to LabVIEW. The first one does not have examples, but seems to have more thorough driver library with more scope options to set. Without the examples though, I will have a tough time. Can I find examples for those drivers somewhere?
    When mixing blocks from different drivers, I get broken wires with the message "source is IVI session of class, sink is VISA session of class". Maybe if I could resolve that, I could mix the driver blocks.
    Thanks
    John

    The answer is that both driver sets have example code in their .zip files. The first one (Agilent 2000 3000 X-Series) just didn't have the examples show up in the Instrument I/O palet, and the other one (agx2k3k) did. You can add the examples to the palet by following the instructions here:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/merging_vis_on_palette/
    The question of which set to use is still open. The Agilent 2000 3000 X-Series drivers are "Certified LabVIEW Plug and Play (project-style) Instrument Drivers", and the agx2k3k dirvers are "Certified Multi-Enviornment IVI Instrument Drivers"
    For a new user like myself, it's very hard to know the differences and how they may effect me down the road. Hopefully someone with more experience can chime in. 
    - John

  • Help with NI-DAQ Example Code

    Hi. I've just started working with the NI ISB-6211. This is the first ACD i've ever used, so i'm farily new to this. I have quite a bit of knowledge in programming. After searching through the installation files I found some example C Code that runs in the command prompt. I've modified one quite a bit to get it to do what I want. My question is...
    Now, i'm having some issues. I'm trying to get it to print a voltage reading into the command prompt. I've hooked it all up and i've used labview to make sure everything is working as it should (Which it does!). When I compile the C program and run it, instead of returning a voltage it just aquires points, and I really have no idea what these "points" are.
    Here is the main part of the example code:
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,1.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",10000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,1000));
    // DAQmx Start Code
    DAQmxErrChk (DAQmxStartTask(taskHandle));
    // DAQmx Read Code
    DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByChannel,data,1000,&read,NULL));
    printf("Acquired %d points\n",read);
    Error:
     And then it just moves down to the exit clause. Is there any documentation anywhere which tells me which DAQ command I need to use to print a continuously updating voltage read out? (Just as a decimal, like 5.21V for example).
    Thank you all
    John
    Solved!
    Go to Solution.

    John,
    The data acquired by DAQmx is written into the array called 'data'.  The number of points DAQmx wrote into this array is stored in the variable 'read' which was passed in by reference.  To print the values returned, you'd need to loop over the 'data' array, and print each value.  See this help topic for an explanation of DAQmxReadAnalogF64.
    Dan

  • Error 1092 happened while running the executalbe file from an example code of Simulation Interface Toolkit

    With Simulation Interface Toolkit 3.0.1 and LabVIEW 8.0, I built the example code Sine Wave.vi to be an executable file. I made no modification to the code except setting Real-Time Target to be localhost in SIT Connection Manager. Everything was OK during the building process. But when I run it, error 1092 was reported. Here is the error message.
    Error 1092 occurred at Invoke Node in sit Traverse.vi->sit Traverse for References.vi->sit Find Object By Label.vi->sit Get RPS-Control-Indicator Refs.vi->sit Init Model.vi->Sine Wave.vi (Traverse Initialization Failed)
    I cannot find out any helpful information about this error code. Can anybody help me? Thanks a lot!
    帖子被zhuang在09-13-2006 08:01 AM时编辑过了

    To my knowledge, building an EXE out of a SIT host VI is not supported.  The SIT host VI utilizes functionality in LabVIEW that is not exposed in the LabVIEW Runtime Engine (i.e., with built EXEs and DLLs).
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Awesome Site with Example Code For All Classes

    Very cool site that has example code for all the Java classes and APIs. You can submit example code yourself too!
    http://www.kickjava.com/

    kevjava wrote: Some things that I think would be useful:
    Suggestions reordered to suit my reply..
    kevjava wrote: 2. Line numbering, and/or a line counter so you can see how much scrolling you're going to be imposing on the forum readers.
    Good idea, and since the line count is only a handful of lines of code to implement, I took that option. See the [line count|http://pscode.org/stbc/help.html#linecount] section of the (new) [STBC Help|http://pscode.org/stbc/help.html] page for more details. (Insert plaintiff whining about the arbitrary limits set - here).
    I considered adding line length checking, but the [Text Width Checker|http://pscode.org/twc/] ('sold separately') already has that covered, and I would prefer to keep this tool more specific to compilation, which leads me to..
    kevjava wrote: 1. A button to run the code, to see that it demonstrates the problem that you wish for the forum to solve...
    Interesting idea, but I think that is better suited to a more full blown (but still relatively simple) GUId compiler. I am not fully decided that running a class is unsuited to STBC, but I am more likely to implement a clickable list of compilation errors, than a 'run' button.
    On the other hand I am thinking the clickable error list is also better suited to an altogether more abled compiler, so don't hold your breath to see either in the STBC.
    You might note I have not bothered to update the screenshots to show the line count label. That is because I am still considering error lists and running code, and open to further suggestion (not because I am just slack!). If the screenshots update to include the line count but nothing else, take that as a sign. ;-)
    Thanks for your ideas. The line count alone is worth a few Dukes.

  • What is IMPORT/EXORT statements ?please give some example code?

    What is IMPORT/EXORT statements ?please give some example code?

    EXPORT :-To read data objects from an ABAP program into ABAP memory, use the following statement:
    Syntax
    EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.
    This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    The EXPORT statement always completely overwrites the contents of any existing data cluster with the same name <key>.
    IMPORT :-To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    they are used to save and reterive data in ABAP memory.
    here is an example to clear about them.
    <b>REPORT ZWA_TEST2 .
    data: it_bkpf type table of bkpf with header line.
    SELECT * FROM bkpf into table it_bkpf.
    EXPORT it_bkpf TO MEMORY ID 'MID'.
    refresh it_bkpf.
    IMPORT it_bkpf FROM MEMORY ID 'MID'.
    LOOP AT It_bkpf.
    write:/ it_bkpf-belnr.
    ENDLOOP.</b>
    Reward points if it is useful.......

Maybe you are looking for

  • What should I do w/ my Lumia 800(US customer)?

    Touch screen is out, the camera button doesn't work. The company I bought it from doesn't want to refund or replace it. The warranty company failed to repair it. The extended warranty doesn't cover the parts in my situation. Nokia USA refuses to repa

  • Help for analysis function in PRO*C

    In a PRO*C code, I wrote the following parts including an analysis function: xec sql select a, b, max(c) over ( partition by a) into ... from t1 but it gave me the error when compiling: Syntax error at line 63, column 35, file test.pc: PCC-S-02201, E

  • PHP 4 on Mac Leopard Server

    Hi there. I would like to know, if it is possible to run PHP 4 on a Leopard Server. I have a website, that have problems running PHP 5, but runs perfectly under PHP 4. Is there a way, to change it to PHP 4? Thanx

  • Calendar view in BW

    Has anyone set up a Calendar view in BW - similar to the Calendar view in Outlook. The calendar view would have CRM Campaign ID's displayed as well for specific dates and the user should be able to view underlying details for that campaign. The under

  • Re: Table & Field Name

    Dear All, Pls suggest a table name & field name to find out customer debit balance Awaiting for ur valuable inputs. Regards Pavani