Frame Channel Conversion Library for LabwindowsCVI

Could someone help me to identify Frame Channel Conversion Library for LabwindowsCVI. I found a library for labview and it is working fine with my USB8473. But i really need to get it working with Labwindows. Have anyone tried to access the frchconvlib.dll from labwindows? Thanks in advance.

Unfortunately, the C API is not documented, nor is it stated as a supported interface.
With that said, you may be able to dig into the VI's of the Frame Channel Conversion Library and pull the function prototypes from the Call Library Function Node on the block diagram of each one. With this information, you could call the functions from the dll (usually located here: C:\Program Files\National Instruments\NI-CAN\CAN Frame Channel Conversion Library 1.0.2\Drivers) from within C.
Let me know your thoughts and if you have any success.
Regards,
Peter Flores
Applications Engineer

Similar Messages

  • CAN Frame Channel Conversion Library

    Hello, I am trying to use the attached ncd file to read from a Series 2 board via the Conversion library but it's not working. I can load the ncd in Max and it read the channel fine.
    What would cause this?
    I am using the sample vi USBCANBasicInput.vi. It seems imposible to debug because it uses a dll for everything.
    I am using version 1.0.3.
    There are extended CAN messages. 
    Thanks in advance,
    Dustin
    Solved!
    Go to Solution.
    Attachments:
    USBCANBasicInput.vi ‏44 KB
    atc.zip ‏1 KB

    Dustin,
    It was a pleasure speaking with you on the phone today.
    It seems that the problem was in using extended arbitration ID's with the Frame Channel Conversion Library. Here are some examples that show how to use this library with extended arb ID's.
    http://decibel.ni.com/content/docs/DOC-6793
    http://decibel.ni.com/content/docs/DOC-6792
    http://decibel.ni.com/content/docs/DOC-6055
    Regards
    Peter Flores
    Applications Engineer

  • Frame Channel Conversion Library

    Hello everyone,
    I'm currently using the Frame Channel Conversion Library (downloaded on the NI Site) and I noticed that there are troubles when using a.dbc containing channels with "scaling factor".
    When I convert the .dbc in the .ncd format, the scaling factors are correctly translated and then correctly interpreted by the DLL of the Convert Frame to Channel.vi, but when I use directly the .dbc in the same function (i.e. Add Selected Channels From File.vi), I always get 0 in the scaled data.
    More clearly, the library works fine with the .ncd format but doesn't work with the .dbc format, when there are channels using a scaling factor.
    Is it a known "bug" ? Is there a way to correct it,  in order to  use  the .dbc with this helpful library ?
    Thanks in advance.

    This could be an issue of using extended 29 bit IDs with the conversion library. If you have extended Ids with your signal database, the NI-CAN driver allways expects to see the 30 th ID bit set additionally if you like to transmit an extended ID and you have to remove the 30 th bit if you provide the ID for the conversion VI. See the attached pictures for how to remove and add the 30th bit  for NI-CAN.
    This is only necessary if you use dbc files. The max export to ncd removes the 30th bit automatically.
    DirkW
    Attachments:
    30thbit_add.jpg ‏49 KB
    30thbit_removal.jpg ‏25 KB

  • Frame Channel Conversion Library: Write

    In LabView I use "Add selected channels from file" and use my .dbc
    In a CAN message I have more than one channel.
    I now want to write to the first channel in the message. This does not work.
    The "Convert Channel to Frame" always creates a data frame that fits the last channel in the message. Well, there is no way to wire "Channel" to the vi.
    Is this correct and is there a workaround?

    one single frame has 0-8 byte of data (Data byte). In Data byte field we logically allocate more channels.
    Using frame API is it possible to write one single channel? I don't want to write all data field only a single channel.
    Thanks!
    Paolo.

  • CAN Frame to Channel Conversion Library

    Hi,
    Is it possible to use this DLL with CVI? If so, is there any example code or a user document?
    Cheers,
    John
    John C
    Solved!
    Go to Solution.

    Hi JGC
    Unfortunately this Library is only meant to be used from LV and LVRT, an equivalent Library does not exist in CVI.
    With that said, you may be able to dig into the LabVIEW VI's of the Frame Channel Conversion Library and pull the function prototypes from the Call Library Function Node on the block diagram of each one. With this information, you could call the functions from the dll (usually located here: C:\Program Files\National Instruments\NI-CAN\CAN Frame Channel Conversion Library 1.0.2\Drivers) from within C.
    Kind Regards
    Chris
    Chris | Applications Engineer NIUK

  • CAN Frame Signal Conversion With XNet

    When dealing with CAN, most new developer struggle with the Frame and Channel (or Signal) conversion.  Developers are trying to get away with using the cheapest CAN hardware, and as a result are opting to not use XNet hardware but instead use things like the USB 8473, or using non-NI hardware like the ValueCAN by Intrepid, or using Vector hardware, or CAN to serial adapaters.  The problem with all of these is you generally just read and write frames which is the raw form of CAN.  When using these cheap devices you can't ask the CAN bus what the signal Bus_Voltage is, instead you need to perform a frame read, find the frame associated with the signal, then pull out the bits for that signal, then scale the signal based on the signal selected.
    All of this is doable but a pain and can be very custom.  That's one reason NI came out with the Frame Channel Conversion Library.  This library converts from Frames to Channels using an industry standard CAN database file.  The problem with this library is it hasn't been updated in 5 years, and has known issues which likely will never be fixed.
    NI has since come out with XNet which supports reading and writing signals on XNet hardware.  The XNet drivers also support converting Frames to Signals without needing hardware at all.  This conversion has several limitations, and really only works for getting the latest value for a signal, not all values.  And in addition to that if the signal was never seen, the value will be the defaul value for that signal, not NaN.
    So I wrote a wrapper around the XNet conversion library to handle going from signals to frames, or from frames to signals.  Anyone looking to use a DBC file, on hardware that only supports frame API should use this conversion library, or at least use the XNet conversion sessions.
    CAN Frame Signal Conversion Using XNet 
    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.

    Hello Hooovahh,
    Nice work  . It’s very useful.
    I’m also converting CAN Raw data to Physical values in my project. Yes, your correct XNET APIs have some limitations. as you mentioned, there is one more limitation I found,
    If your Message Data length (Payload) is 4 Bytes (example) and other CAN Frames are having more than 4 Bytes then its throwing Error (Error Code -1074384737).
    While converting CAN Frames to signals, we will get different Payloads but, our selected signal message have 4 bytes then XNET will gives an error (at the time of Data Conversion).
    As per attached Snap, My Signal is related to IDxBB and I’m sending two different Frames then XNET will not convert.
    Hooovahh Wrote:
    NI has since come out with XNet which supports reading and writing signals on XNet hardware.  The XNet drivers also support converting Frames to Signals without needing hardware at all.  This conversion has several limitations, and really only works for getting the latest value for a signal, not all values.  And in addition to that if the signal was never seen, the value will be the default value for that signal, not NaN.
    When we will send Frame by Frame then we will get all values (not only recent values). XNET will take previous value (if data is not present for Next iteration)
    Please check this snippet for all values & NaN Display.
    Munna

  • Deterministic CAN Frame to channel conversion

    Hi, I need to create a CAN logger which should record (in TDMS format) and show in real time (in a mixed signal graph) several channels in deterministic mode.
    Using an interface wich supports the Channel API (such as NI PXI-8464) it is all right and the software works properly.
    The problems appears when the aquisition is done through a NI USB 8473, doing the frame to channel conversion with the two virtual channels (CAN256 and  CAN257). The conversion is done in the way shown below:
    where in the CAN256 i transmit in "timestamped mode"
    While the time goes on, the logged signal is more and more delayed respect the real one until the buffer fills and an error is generated.
    What i need is a Frame to Channel conversion wich keeps deterministic, also with a small constant delay.
    Any solution?
    Thanks a lot
    Fabio

    Hello Fabio,
    Usign the virtual ports for frame to channel conversion is not very efficient.  I would suggest using the frame to channel conversion library.
    Let me know if you have any questions about it.  Have a great day.
    O. Proulx
    National Instruments
    www.ni.com/support

  • CAN Frame to channel conversion using CVI

    Hi,
    I am using USB-8473 can bus modules in a project.  I would like to display the channel data by using the Frame to Channel conversion library.  Is there a version that can be used with CVI?  I am using CVI 9.1
    Thanks
    John

    Hello John,
    I do see what you mean, the VIs actually just call into a C dll. I dowloaded to the Library after reading your post and opened up the VIs. It looks like each is just a small wrapper around Call library funciton node. It is definately silly that the VIs are so well documented but not the functions of the dll itself. Based on browsing a few of these VIs, it would be pretty easy to write the wrapping code in C and call all the same functions of frchconvlib.dll. 
    I will look into whether this library was written by a third party or NI, and if its NI property I would like to expose the dll itself to users like yourself. 
    I do apologize that this is the only current solution. I will let you know what I find out.
    This kind of feedback it important to receive, so thank you for voicing you concern.
    Best,
    Anna K.
    National Instruments

  • Advanced CAN Frame to Channel Conversion: Error with LV 8.5.1

    Hello!
    I´ve tried to read in a DBC-file with the "Advanced CAN Frame to Channel Conversion Example" on a LabVIEW 8.5.0 system and it works fine.
    On a LabVIEW 8.5.1 System I get the error:
    Scan From String (arg 6) in CAN FtoC Parse Channels and Mode.vi->CAN FtoC Parse CANdb Messages and Channels.vi->CAN Channel Data Import.vi
    Does anybody know a solution for this error?
    Thank you for your help,
    demo66
    regards,
    demo66

    Hi!
    It is a problem of localized decimal point.
    In a german Windows, LabVIEW will use Komma as decimal point.
    So the Scan From String.vi will convert string 0,21 in a double but not 0.21. From the file dbc you receive the values with period "." that's why it create the error 85.
    You have 2 possibilities: change the localized decimal point in LabVIEW (Tools -> Options) or you say to the Scan From String.vi to use "." as a decimal point.
    Go to CAN FtoC Parse Channels and Mode.vi and search the 2 Scan From String.vi
    Add at the beginning of the Format String %.; so that the format String will use the "." as decimal point (see Attachement).
    After that the example will work.
    Best regards
    Ken
    Attachments:
    Scan From String.jpg ‏51 KB

  • Java Library for MS Word (.doc) to PDF Conversion

    Hi,
    My customer would like to use BI Publisher's PDF Binding and Merging features to combine BIP PDF outputs with another documents in Solaris platform. However, currently those documents are all in Word .doc format only and the customer does not want to consider converting those into other formats like RTF.
    Does BI Publisher provide library for converting .doc format directly into PDF? If not, does anyone know a Java library on the market that can best do the job?
    Geoffrey

    From: <[email protected]><br /><br />| @graffiti, Even if a printer does work, it doesn't solve my on-screen appearance. I<br />| want the document to look good both on-screen and printed. At presented, the on-screen<br />| doesn't look good.<br /><br />| @David, can you please elaborate a bit further? The signature should be a WMF file? I<br />| looked at the various file types from the Photoshop Save-As dropdown menu, and WMF was<br />| not among them. One of my critical elements is to be able to save the signature with a<br />| transparent background, not a white background.<br /><br />| Can you elaborate more on the "low compression ratio"? I have got no clue what that is<br />| about or where to change it.<br /><br /><br />I don't what to tell 'ya about WMF so here is a good Wiki on it...<br />http://en.wikipedia.org/wiki/Windows_Metafile<br /><br />As for the compression ratio...<br /><br />{ the following is based upon my installation of Acrobat 9 but most versions are<br />relatively the same }<br /><br />In "Printers and faxes"<br />Right-Click on "Adobe PDF"<br />Choose; "Print preferences"<br />Under "default settings" choose "Edit"<br />Now choose "Images"<br /><br />You will find settings for "compression" and "Image quality"<br /><br />The objective is "high quality" and "low" or no compression.<br /><br /><br />-- <br />Dave<br />http://www.claymania.com/removal-trojan-adware.html<br />Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp

  • SAP Conversion Agent for PI 7.1 EHP 1 and Windows 2008 Support

    Hello
    I have read that some people were able to run SAP Conversion Agent on a PI 7.1 EHP1 Installation on Windows 2008 Sever. But in the Product Availability Matrix there is no support for 2008 yet.
    In the SAP Library (http://help.sap.com/saphelp_nwpi71/helpdata/en/43/fc39c16bfb025ee10000000a1553f7/frameset.htm) under the release notes for SAP Conversion Agent there is still version 8.5, but when I install the actual Support Package I have Conversion Agent 8.6 running and according to information on the informatica.com site this version is running under 2008!
    Has anybody clear and actual information about which OS the newest SAP Conversion Agent for PI 7.1 EHP1 supports? Or has anyone experiance on Conversion Agent and Windows 2008 Server?
    Thanks
    Christoph

    Hi Mark
    Thanks for your reply! Fact is that in the actual Package (SP06) the version of Conversion Agent Engine supplied is not 8.5.5 as in the SAP Note mentioned, it is version 8.6.0:
    C:\Documents and Settings\pi1adm>CM_console -v
    Engine-Version: 8.6.0(Build:30)
    Engine-Syntaxversion:4.00.10
    I will oben a ticket for that ...
    Regards
    Christoph

  • PS Library for Java?

    Does Adobe have a postscript print library for Java?
    I called Adobe Support - and got the typical India call center (no help of course). Hopefully Adobe has smart people someplace in the company... just not sure where.
    We have a Java Web Start desktop client for geospatial work that we need to add postscript support for large format printing (e.g. E size drawings). The goal is decrease print times over the normal Java2D/Windows "render a bitmap image on the client - then send it to the print server - then to the printer" method by creating a small postscript file to send to the printer - that can then create the large bitmap to print at the device.
    From what I can tell Adobe has no such library - is that really true?
    If so - does anyone have recomendations on a good solid commercial or open source library?
    Google seaches come up with only a couple (e.g. RiePS), none of which sound very robust. Does no one develep applications to output to postscript any more?
    Thanks in advance...

    Assuming that you are lookng for a library for creation of PostScript, no, Adobe offers no libraries for PostScript creation in Java or otherwise.
    Most applications in common operating systems environements (Windows, MacOS, etc.) rely on the operating system's internal graphics model and the provided PostScript driver to generate PostScript for the particular device and deliver same over the device's communication channel (Ethernet, USB, etc.).
              - Dov

  • XMPFile library for Java - when?

    What are the latest plans for developing the XMPFile library for Java? We are really in great need of this and would be most appreciative if it could be developed and made available as soon as possible.
    Thanks,
    Kent

    Assuming that you are lookng for a library for creation of PostScript, no, Adobe offers no libraries for PostScript creation in Java or otherwise.
    Most applications in common operating systems environements (Windows, MacOS, etc.) rely on the operating system's internal graphics model and the provided PostScript driver to generate PostScript for the particular device and deliver same over the device's communication channel (Ethernet, USB, etc.).
              - Dov

  • Use audio channel strip settings for instrument channel

    How can I use the library of audio channel strip settings for an an instrument channel? I use a virtual guitar (RealStrat from MusicLab) and want to apply one of those beautiful audio channel strip settings for guitars to my virtual instrument.
    Best, Dietmar

    This works great, thank You
    Is there a way to select the next audio channel strip setting with a keyboard shortcut? I can open the channel strip setting pop up menu with the option key pressed and select "Next channel strip setting" from the pop up menu, but that's not comfortable if You want to listen through 10 or 20 settings When I use the keyboard shortcut "Next channel strip setting" the next _software instrument_ channel strip setting is loaded ...
    Is there a way to make the _library display the audio channel strip settings_ for an instrument channel?
    Best, Dietmar

  • Frame rate conversion problem

    I need to edit a Keynote presentation into some footage of a workshop. The workshop footage is h.264 from a Sanyo camcorder that I've transcoded into Apple Intermediate Codec at 29.97fps. The Keynote presentation is a ProfCast recording made during the workshop, so the two should be in sync. I'd like to combine the two into a multiclip and switch from one to the other. But the Profcast recording is 30fps and FCP won't let me make a multiclip because the clips have a different frame rate. I've tried to export the Profcast to 29.97 in QTP but it always comes out as 30fps,
    How can I translate the Profcast footage from 30fps to 29.97?
    Ralph

    You have mentioned DVD and now 24p Broadcast.
    "I trust this more than letting FCP's rendering engine do the frame rate conversion."
    Somewhere this will happen.
    I don't know of any broadcasting in 24p?
    If someone knows please set me straight. If you're outputting for broadcast it most likely will be (HD Cam) 60i or 50i.
    I do understand a lighter load for Compressor (20%) and that is logical.
    As far I know 24p is just for a film out.
    I do hope you find the answer to your questions and report back as to what works for you and how you delivered this project.
    Good Luck
    Z1

Maybe you are looking for

  • Sync multiple devices owned by other family members to one iTunes account

    I am wondering if it is OK since we have one imac computer running iTunes in the house, but I have an iphone and ipad, my son has an iphone, my daughter has and ipod, and my wife has an iphone, if it is OK to be syncing all of our devices under MY lo

  • Making system settings for measurement documents and measuring point

    What is the significance of making system settings for measurement documents and measuring point in spro? Edited by: Pallavi Kakoti on Jul 14, 2011 1:23 PM

  • Tooltip location problem

    Ok, i have a jfram with lots of components that uses different tooltips. The tooltips display some information and can get fairly big. The problem i have is that the tooltips for components are located so that they maybe go outside of the actual jfra

  • AuthenticateUser error in R12

    Hi, When i am running Login Page in R12 from my JDEV it is opening correctly but when i give user name and password it is throwing the error saying that "AuthenticateUser" is failed. Error message : oracle.apps.fnd.framework.OAException: java.lang.Il

  • Safari on in the background

    I've noticed that Safari is repeatedly running in the background and doesn't allow us to logout from the account or shutdown without force quitting it, and when you do, you have to be the Administrator. What's the reason for this? We use Firefox for