06-06-2011 03:13 AM
I reinstalled LabVIEW (2011 DS1) and can now format and install software to cRIO.
But cRIO still crashes after I do a simple communication between two NI-9871 ports.
This what I do to crash the CRIO
1-Format
2- Install one default software option (Scan Engine 3.6.0)
3-Open my existing project.
4-Deploy all
5-Run the vi. (write from port1 of NI-9871 to port2 of NI-9871, it sucessfully writes and reads, no error messages returned )
6-Exit LabVIEW
7-Reboot the CRIO
And that is it, cRIO goes into safe mode by blinking STATUS Led 4 times, and reports "Safe Mode (software error)" from MAX and its serial port by "Console Out"
Any ideas???
04-13-2012 06:57 AM
can i use Carlo gavazzi dupline mastergenerator G38000015 in NI LABView ?
How to interface it with labview software ?
Can any one suggest me on that..
04-13-2012 08:15 AM
Hello Kaku,
Please try as possible to create a new topic. It's better for future customer finding solution
Unfortunately i didn't find built-in LabVIEW driver for your instrument BUT from what i read on its user manual:
"The G38xx15 program has been designed for configuration of the G3800X015 master generator. All functions
in the generator are represented by graphic symbols. To each channel function are related parameters and
comments, which can be edited locally in the PC and transferred to the master generator through RS232.
Likewise, data from the master generator can be uploaded and edited."
RS232 mean you can use serial communication. thus It is possible to control this instrument with the NI-VISA driver. (there is a palette in labVIEW with VISA function). you will also find example for serial communication in the labVIEW built in example library. (help>> fin example...).
Then If you want use Modbus protocol read this paper:
library: http://sine.ni.com/nips/cds/view/p/lang/en/nid/201711
There also are some example if you install the modbus library.
Regards,
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France
04-14-2012 02:17 AM
Thank you for reply...
I hv rply to ur post as only ur post has carlos gavazzi data. I'll repost all this data ,so other can also get an info about it.
I hereby attached an image , in which interfacing between labview & dupline mastergenerator is been explained.
I need ur suggetion on how can i interface it using ActiveX as shown in diagram i hv attached ?
Also i hv installed Data Access Software in my machine.
But how to link that software with labview to use mastergenerator ?
Thanx again for ur reply...
04-14-2012 05:30 AM
I really don't know this hardware but If all the software pieces have been install, then you can access LabVIEW VIs you can use to communicate with your dupline master generator. It is not well explained if the activeX methods and properties are directly access through these VIs or if yo have to use them in the same time.
If so you can use these activeX function with the ActiveX subpalette located in the connectivity palette.
Apparently some Visual Basic demo are also installed. You can start learning how to use your generator with this example.
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France
06-13-2012 12:57 AM
Hi I run in scan mode cRio 9075,(even tried 9012) I configure a Modbus master Com2. it establishes communication have serial sniffer and see commands send and received.
Writes to device happens, reads request received and responds but my shared variable does not show any value,
If i changed to onboard com1 as check (rs232) sytem works fine, their is something wrong in the connection of shared variable to the 9871....
I can not find any postings on this.
Does anyone know if modbus is surposed to work on the 9871 and what firmware must be installed on crio
Installed the latest from 2012 DVD...
03-13-2014 04:35 PM
Hi André,
You mentioned about using a low cost RS-232 to RS-485 converter on the RS-232 Serial Port available on the cRIO-9074 for Modbus controlling. This is exactly what I am working on but have no clue why its not working.
It returns a 6101 timeout error code when I sending out commends.
Would you kindly send me your project code for me to reference? Or do you have any recommandation?
Sincerely
Thank you,
nobel945