Jump to content

Ghis

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Ghis

  1. Thank you for your reply. I have to use closed loop processes. Below is a typical example of use:
  2. dear user, I have cRIO9040 and 9045 in my laboratory. Until now, I work as follows: - Initialization of sensors and actuators ==> Daqmx - Data backup ==> TDMS file with writes every 250 ms. After end of tests: transfer to a network folder - Display: 15" screen with usbC to HDMI converter - Control: via touch screen or use of the webserver via IE (Internet Explorer) So far, I've taken the easy way out with the webserver and Daqmx. I see the end of IE as well as a very demanding use in terms of processor and RAM of the cRIO by DAQmx+webserver use on my cRIOs. Could you tell me the standard/efficient uses of cRIO? I have the impression that it is better to use the FPGA for everything that is I/O sensors actuators. On the other hand, how to control the application remotely without a webserver? Which do you think is the most effective? Modbus slave? MQTT? other ? Could you enlighten me on your uses and your tests for these configurations? Which is the most manageable, scalable and efficient? Thank you for your answers.
  3. Ghis

    cRIO9040 crash

    Hi guys I have a problem with my crio9040. Indeed, for several weeks I have not been able to identify a crash of this one for no apparent reason. My log file generate by my program because i have a hardware crash. When I look at the cRIO log in NImax, it informs me of this but I'm not sure that's the problem: Kernel log: "2023-07-21T00:00:41.352+02:00 BPP2 kernel: [28355.542124] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount. 2023-07-21T00:00:41.392+02:00 BPP2 kernel: [28355.580251] CIFS: VFS: parse_server_interfaces: malformed interface info" On restart. Error log: "#### #Date: Fri, Jul 21, 2023 08:39:32 AM #OSName: Linux #OSVers: 5.15.113-rt64 #OSBuild: 331633 #AppName: lvrt #Version: 21.0f3 #AppKind: AppLib #AppModDate: InitExecSystem() call to GetCurrProcessNumProcessors() reports: 2 processors InitExecSystem() call to GetNumProcessors() reports: 2 processors InitExecSystem() will use: 2 processors starting LV_ESys1248001a_Thr0 , capacity: 24 at [3772766387.42935610, (08:39:47.429356000 2023:07:21)] starting LV_ESys2_Thr0 , capacity: 24 at [3772766387.49391699, (08:39:47.493917000 2023:07:21)] starting LV_ESys2_Thr1 , capacity: 24 at [3772766387.49391699, (08:39:47.493917000 2023:07:21)] starting LV_ESys2_Thr2 , capacity: 24 at [3772766387.49391699, (08:39:47.493917000 2023:07:21)] starting LV_ESys2_Thr3 , capacity: 24 at [3772766387.49391699, (08:39:47.493917000 2023:07:21)]" I network a record file at some point, hence the CIFS: "mount -t cifs //networkpath -o username=name ,password=password,uid=admin, vers=1.0 localpath" I have another test bench that uses this function without crashing. does anyone have any idea how to find the problem? thanks !
  4. Hello World 😄 I'm looking for informations about cRIO and database access and I hope you can help me. ******************************************************************************* I'd like to develop an embedded Labview code in my cRIO-9040 that could: - 1/ Recover data on a SQLserver database (read only) ; - 2/ Create a data file ; - 3/ Back up the data file in a network space of my company ; ******************************************************************************* 2/ Create a data file: not really a problem ^^ 3/ I started my tests by: - share a folder of my pc (RW) - provide cRIO access to my PC, including the previous folder by Putty software: "mount -t cifs //[IP of remote server]/[name of shared folder]/ -o username=[your username],password=[your password],uid=lvuser /home/lvuser/data" => it works. The program makes the file transfer to my PC. /!\ But when I use the same method to the server, I have an mount error: "mount: /home/lvuser/data: mount(2) system call failed: Operation not supported." (I know Linux is case-sensitive, so I paid attention to characters in the path but...) 1/ This is my biggest problem. I read that it was not possible to use the Database APIs (because it's not possible to create ODBC driver on Linux?). So I don't know how to access the database by Linux, and even more so on a Microsoft database (SQL server) 😪 In advance, thank you for your help
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.