04-22-2009 10:28 AM
David,
Thank you very much for your suggestions. I succeeded in reinstalling IDW 1.1 and cleared confusions of substituting "Offset" by "Sample Offset".
Anne
05-07-2009 01:29 PM
Hi all -
I've published a new Reference Application that should prove useful when working with the IDW, JDW, and SDW libraries: Serial Protocol Communication with Digital Waveform Devices. It explains how to configure an NI-HSDIO or NI-DAQmx based device to work with one of these libraries. Check it out, and please rate it!
05-17-2009 09:42 PM
I downed the I2C Digital Waveform Reference Library for LV 8.2 but I am getting a error message which is;
Error 1311. Source file not found: C:\Program File\National
Instruments\LabVIEW 8.2\examples\Volume\bin\dp\data.cab
Verify that the file exists and that you can access it.
Can someone give me idea what I am doing wrong?
Thanks,
Howard
05-18-2009 02:36 PM
Did you run the setup file?
I see the data.cab in the zip file. Either the zip file you downloaded is corrupted, or it did not get installed properly. Search around to see if you have a data.cab. Try installing again. Try downloading the zip file again and reinstalling.
05-19-2009 02:59 PM
Hey Howard,
Were you able to determine if the directory that error message was referring to exists or not? Did the suggestions Ravens Fans gave correct the missing file issue?
05-19-2009 04:22 PM
Hey All,
I'm working on an application in LabWindows/CVI and I'm trying to implement an I2C master read/write with the PXI-6551. I have spent days trying to find an example or some sort of code to shed some light on how to implement this protocol since it is my first time working with this but I'm running out of options here. Is there any particular thread that can help me out with this or if there's any particular example that someone can provide for LabWindows/CVI; I looked at the IDW but it seams that is only for LabView. I guess I will have to dive in the different SubVIs to figure it out. Please Help 🙂 !
Thanks,
Chris
05-19-2009 10:50 PM
Hi David,
Yes, I was able to fix the issue with Ravens Fans suggestion.
Thank you,
Howard
P.S.. Is it possible to communicate with a I2C devise through a serial port connection?
05-19-2009 10:53 PM
Your idea worked.
Thank you
Howard
05-20-2009 09:31 AM
Hi Howard -
I assume that by "serial port", you mean an RS-232 port on a PC. No, you can't. I2C and RS-232 are two completely different protocols and physical transmission layers.
06-03-2009 03:56 PM - edited 06-03-2009 04:02 PM
Hi all -
I want to share a patch for the I2C example VI that you download from Serial Protocol Communication Reference Design for Digital Waveform Devices. There is a subVI called Interpret HWC Samples - I2C that has two bugs:
These fixes are shown in the images below:
I'll include this patched VI in whatever release comes next (probably v1.0.2, along with any other bugs found and fixed in the near future).
Please remember that this VI is designed to be an example of how to parse a single byte from the I2C data stream. If you're receiving multi-byte streams of data from the slave, you'll have to modify it to pack more than 8 "Data" bits into the output. You could either have it count out the bytes and concatenate them into a [U8] array or char string, or you could pack them into a larger output datatype, like U32 or U64.