02-07-2012 01:56 AM
Can I use CompactRIO console output by commands or not?
Thanks all
02-07-2012 02:56 PM
Hi Engmoh,
If you're wanting to use the Console Out to obtain diagnostic information about your controller, then here's a knowledge base article that may be helpful to you.
http://digital.ni.com/public.nsf/allkb/354A5124E6A667988625701B004A77CD?OpenDocument
However, if you're wanting to read/write to the serial port of your cRIO, then you'll want to use VISA functions to do so. You can use them as you would on any computer. Here's a simple example of using the serial port to communicate with a host computer:
https://decibel.ni.com/content/docs/DOC-3816
Does that answer your question?
02-08-2012 12:39 AM
Thank Alisha P,
when I use HyperTerminal to interface with CompactRIO and write value
i see this lines
*** BEGIN SYSTEM EXCEPTION LOG ***
Target type: cRIO-9023
Target code: 73D2
System time (UTC): 2012-02-07 01:46:27
System tick count: 93395 ms
Exception code: 0x00000700
Register contents:
DAR = 0x00000000 DSISR = 0x00000000
MSR = 0x0008B032 FPCSR = 0x00000000
LR = 0x0112EEAC CTR = 0x00000000
CR = 0x00000000 XER = 0x00000000
GPR 0 = 0x0014FFD8 GPR 1 = 0x0071cae0
GPR 2 = 0x00000000 GPR 3 = 0x00000000
GPR 4 = 0x00000000 GPR 5 = 0x00000000
GPR 6 = 0x00000000 GPR 7 = 0x00000000
GPR 8 = 0x00000000 GPR 9 = 0x00000000
GPR 10 = 0x00000000 GPR 11 = 0x00000000
GPR 12 = 0x008C59F4 GPR 13 = 0x00000000
GPR 14 = 0x0071DA10 GPR 15 = 0x00000000
GPR 16 = 0x00000050 GPR 17 = 0x00000000
GPR 18 = 0x0071CC00 GPR 19 = 0xfffffffe
GPR 20 = 0x0000009E GPR 21 = 0x00000002
GPR 22 = 0x00000028 GPR 23 = 0x00220000
GPR 24 = 0x008C5740 GPR 25 = 0x0071cb30
GPR 26 = 0x008C5740 GPR 27 = 0x00000004
GPR 28 = 0x008C59F0 GPR 29 = 0x0112ee8c
GPR 30 = 0x0071CB58 GPR 31 = 0x00000004
PC = 0x00000000 in module 0x0
Thread ID: 0x0071DC30 Thread name: tShell0
Thread stack base: 0x0071DC30 stack size: 65536
Call Stack:
0x161fcc+0x4: shellTask () in module 0x0
0x161680+0x0: shellExec () in module 0x0
0x158b34+0x122c: shellInterpCparse () in module 0x0
0x157908+0x0: shellInterpCparse () in module 0x0
0x155c7c+0x12a4: shellInterpClex () in module 0x0
0x14fe54+0x0: shellInternalFunctionCall () in module 0x0
0x112ee90+0x4: VarData::const_iterator::value() const () in module logosrt.out
All Loaded Modules:
MODULE NAME MODULE ID TEXT START DATA START BSS START
--------------- ---------- ---------- ---------- ----------
niDiscExp.out 0x03f04650 0x040fae00 0x0414afd0 0x0414ed48
niSysNetCfg.out 0x03f02a28 0x03e68668 0x03e99c80 0x03e9bcb0
NiViSys.out 0x03eda1d0 0x0401fa38 0x04056150 0x04058560
niriosae.out 0x03882108 0x03fa81a8 0x03fcc910 0x03fce4c8
motionsysapiexpert.out 0x03ede5a8 0x03de31f0 0x03e02830 0x03e043a0
tsf_sysapi_expert.out 0x03edd4e0 0x0392d500 0x03958e80 0x0395aea8
ptpsysapi.out 0x03eb3478 0x03d91828 0x03de1648 0x03de2ac0
nismInterfaceCore.out 0x00cb92d0 0x04151e08 0x042d3230 0x042dcdc0
nimcDSCAdapter.out 0x00cb6130 0x03ef6960 0x03f00ee0 0x03f027b8
nismInstructionHandler.out 0x00cb5ba0 0x03f0bd60 0x03f27390 0x03f273d8
nimcLabVIEWAdapter.out 0x03edc660 0x00cb6ef0 0000000000 0x00cb7a60
NI_VariableRemConf.out 0x03883420 0x03e0a130 0x03e646c8 0x03e684f8
wif_core.out 0x03826018 0x03967038 0x0398a9f0 0x0398da78
nisysapisvc.out 0x01777d98 0x038c9e88 0x038f0658 0x038f30c8
niauthsvc.out 0x0387fb38 0x03d54a78 0x03d8b040 0x03d8eb88
rtexecsvc.out 0x0387b338 0x038fa358 0x0391b750 0x0391d470
deploysvc.out 0x03820738 0x0386cde8 0x038794d8 0x0387b148
FilesystemWebService.out 0x03827ad0 0x03830798 0x03869308 0x0386cca8
sysadminsvc.out 0x0382bac8 0x03888528 0x038c6f10 0x038c9cc0
TgrDD.out 0x037534e0 0x0177ad18 0x01785150 0x01785738
mxs.out 0x034e4300 0x037f1aa0 0x0380d5d8 0x0380ff28
epics.mnd 0x034d4bf0 0x03674660 0x03735948 0x0373d020
......................................................................
..............................................
Can i know many commands?
02-08-2012 09:02 AM
Interesting. It looks like something odd is going on with your cRIO. Is this message also contained in an error log written to the cRIO? What versions of the software do you have on your cRIO and on your computer? Have you tried restarting your cRIO and trying again?
02-09-2012 01:50 AM
My Controller is NIcRIO-9023, cRIO-9114, 8-slot Chassis, LabVIEW Academic Premium Suite 2011 and NI-RIO 4.0 software
I attach text file for console output to see it
02-10-2012 11:24 AM
It looks to me like your cRIO is crashing during the boot. I would recommend reformatting your cRIO and then reinstalling the latest versions of the software.