Termination character enable is FALSE but active
When opening a new VI and starting to write code (in the other words, no special initialization is done to the serial port settings, as yet), the Term Char Enable indicates FALSE. The reads do get terminated with \n (\x0A). After a little while, I found in the support that actually one needs to check a different attribute (ASRL End In), in order to have the correct picture. Is this behaviour by design (??!!!???), or is it a bug?
Sincerely,
Albert Lysko
In VISA Configure Serial Port, setting Enable Termination Char to true (the default mode) does two things. It sets the VISA Message Based Settings property Termination Character Enable to true, and the Serial Settings property Serial End Mode for Reads to termchar. The serial end mode for writes is not set in the function and if you want to terminate each write operation with a termination character, you have to set Serial End Mode for Writes to termchar.
Similar Messages
-
I am connected to hardware via an RS-232 cable and am using VISA’s to request and read information from memory addresses. When I encounter a 0x0a (hex) in memory, the VISA Read stops reading because it thinks it has read the termination character. This only happens when a 0x0a is encountered, all other characters from 0x00 to 0xff are read in correctly (provided there isn’t a 0x0a in the location).
I have set the Termination Character Enable property node to FALSE and it doesn’t seem to help (Ver 6.0.2). Any help on disabling the Termination Character would be appreciated.
Thanks,
DHI would think that setting the Termination Character Enable to false would prevent this. Maybe something else is turning it back on. If you use the VISA Configure Serial Port.vi (In instrument I/O>>Serial) it will turn this setting back on. So make sure you turn it off after any of these functions. One other thing that have done is set the Termination Character to 0x00, although I'm not sure what would happen if you got a 0x00 (NULL?) back from the port. Also check for other functions that may alter these settings after you set them.
Hope this helps!
Brian -
How can I define more than one termination character for RS-232 interface communication?
Hi,
I have to communicate through the PC's RS-232 interface with a microprocessor board. I am using the "Advanced Serial Write and Read.vi" out of the LabVIEW examples and it works on principle.
My problem is the termination character: It looks like I just can set one termination character, EITHER 0xA (so LF / newline) OR 0xD (CR / carriage return), but I have the need to react on various termination characters like "<CR> <LF> <CR> <LF> OK <CR> <LF>" or "<CR> <LF> <LF>"; which I would like to set in a control (this VI will be used in a TestStand sequence).
Is there a way to do that, so that I can set wichever termination character(s) I need? The property node in "VISA configure serial port" just accepts an unsigned integer, nothing else. Sure I can get it running with the timeout - but this is not very nice and extends testing time unnecessarily.
Thanks & Regards!
Regards,
gedi
Solved!
Go to Solution.That would be for the write. The poster is asking about the read. For the read you will need to write your own read routine. You will basically need to use a loop and inside the loop use the VISA Bytes at Serial Port to see if there's any bytes available. Read that many bytes, and append them to a string that you build up in a shift register. After concatenation check to see if you've got the termination characters. If so, the read is done. Fairly simple. Be sure to turn off the termination character enable in the VISA Configure.
-
Why do I get a "termination character was read" warning with VISA read and TCPIP?
I am using VISA Reads with TCPIP raw sockets without issue with NI-VISA 3.0.1 but when I moved to NI-VISA 4.4 I was getting timeout errors. The timeout errors went away when I set the termination character enable property to true (which seemed to be default in NI-VISA 3.0.1), but now I get a warning stating that the "termination character was read".
Can I disable this warning? Can I set the termination character enable to default? How can I get rid of this annoying warning?
Solved!
Go to Solution.Hey Dagwood,
Unfortunately there isn't a way to globally change the attribute VI_ATTR_TERMCHAR_EN to VI_TRUE. I spoke with R&D about possible use of the registries and they say it's not accessible through that. To address why this change was made, the developer who made the switch isn't around anymore so I can't find his reasoning as an explanation for you. The best this for you to do in your code would be while initializing, use the VISA Property Node to make the change and until that VISA Resource is closed, this change will remain set to the value you assign. I'm sorry we cannot provide any other solution for this inconvenience. Also, if you feel this is a large burden on your programming practice you can definitely submit a product suggestion for the ability to change global default values for VISA attributes.
Thanks,
David Pratt
AES - Test Side Products
NIC -
I never want to search from the address bar. I've been able to turn off this horrible annoying feature in the past by setting "keyword.enabled" to false but this no longer seems to work. Is there any way to fix this so that searching from the address bar never happens with any search engine?
If you set keyword.enabled to false, then what Firefox normally does is check whether your address bar entry is a valid server name (first DNS lookup) and, if not, it will try fixup (e.g., www.+''what you typed''+.com) (second DNS lookup).
If you get search results, particularly if you get results from some site other than your preferred search engine, there are two possible explanations:
(1) DNS provider hijack.
There are some service providers that do not answer the DNS lookups honestly and instead will divert you to their own page of search results. In that situation, there sometimes is a link on the page to opt out, either right there, or behind an explanation (why do I get this page?) or a settings link. You may have to look around. Or if your service provider won't let you opt out, you might need to switch to using OpenDNS or Google Public DNS.
You probably should also check your connection setting it case that has been modified:
"3-bar" menu button (or Tools menu) > Options > Advanced > Network mini-tab > "Settings" button
Try "No proxy" here to see whether that helps.
(2) Bad add-on.
Some extensions will divert honest DNS misses to their preferred search site. Here's what I suggest for cleaning out bad add-ons:
(A) Open the Windows '''Control Panel''', Add/Remove Programs. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
(B) Then, in Firefox, open the '''Add-ons page''' using either:
* Ctrl+Shift+a
* "3-bar" menu button (or Tools menu) > Add-ons
In the left column, click Plugins. Set nonessential and unrecognized plugins to "Never Activate".
In the left column, click Extensions. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
(C) Search for remaining issues with the '''scanning/cleaning tools''' listed in our support article: [[Troubleshoot Firefox issues caused by malware]]. Note that the tools are free and take considerable time to run. If they seem to finish quickly and then ask for payment, you might have a Fake AV infection. Please use the specialized forums listed in the article in that case.
Success? -
Utl_file.putline - platform specific line termination character
PUT_LINE terminates the line with the platform-specific line terminator character or characters.
But the porblem is this.
The file generator application can run in different platform,and hence it means I can have different line termination character.Is there anyway I can force it to generate Unix only line termination character (line termination char in Unix I guess is \n) .
In short programatically I want to control it.
I looked at UTL_FILE.PUTLINE but it doesnt have any option to control the line termination char.
Help.here is the example, i am on HP UNIX
SQL> DECLARE
2 l_text VARCHAR2 (32767);
3 v_file UTL_FILE.FILE_TYPE;
4 BEGIN
5 -- OPEN FILE to write
6 v_file := UTL_FILE.FOPEN (LOCATION => 'NOTIFICATION',
7 filename => 'Test.txt',
8 open_mode => 'w',
9 max_linesize => 32767
10 );
11 UTL_FILE.PUT(v_file,'Hello' || CHR(10));
12
13 UTL_FILE.PUT(v_file,'how are you' || CHR(10));
14
15 UTL_FILE.PUT(v_file,'I am fine' || CHR(10));
16 UTL_FILE.FCLOSE (v_file);
17 ---- open file to read
18 v_file := UTL_FILE.FOPEN (LOCATION => 'NOTIFICATION',
19 filename => 'Test.txt',
20 open_mode => 'r'
21
22 );
23 BEGIN
24 LOOP
25 UTL_FILE.GET_LINE (v_file, l_text, 32767);
26 DBMS_OUTPUT.PUT_LINE (l_text);
27 END LOOP;
28 EXCEPTION
29 WHEN NO_DATA_FOUND
30 THEN
31 NULL;
32 END;
33 -- READ LAST LINE
34 -- DBMS_OUTPUT.PUT_LINE ('Last Line : |' || l_text || '|');
35 UTL_FILE.FCLOSE (v_file);
36 EXCEPTION
37 WHEN OTHERS
38 THEN
39 UTL_FILE.FCLOSE (v_file);
40 END;
41 /
Hello
how are you
I am fine
PL/SQL procedure successfully completed.
SQL> ed
Wrote file afiedt.buf
1 DECLARE
2 l_text VARCHAR2 (32767);
3 v_file UTL_FILE.FILE_TYPE;
4 BEGIN
5 -- OPEN FILE to write
6 v_file := UTL_FILE.FOPEN (LOCATION => 'NOTIFICATION',
7 filename => 'Test.txt',
8 open_mode => 'w',
9 max_linesize => 32767
10 );
11 UTL_FILE.PUT(v_file,'Hello');
12 UTL_FILE.PUT(v_file,'how are you' );
13 UTL_FILE.PUT(v_file,'I am fine' );
14 UTL_FILE.FCLOSE (v_file);
15 ---- open file to read
16 v_file := UTL_FILE.FOPEN (LOCATION => 'NOTIFICATION',
17 filename => 'Test.txt',
18 open_mode => 'r'
19 );
20 BEGIN
21 LOOP
22 UTL_FILE.GET_LINE (v_file, l_text, 32767);
23 DBMS_OUTPUT.PUT_LINE (l_text);
24 END LOOP;
25 EXCEPTION
26 WHEN NO_DATA_FOUND
27 THEN
28 NULL;
29 END;
30 -- READ LAST LINE
31 -- DBMS_OUTPUT.PUT_LINE ('Last Line : |' || l_text || '|');
32 UTL_FILE.FCLOSE (v_file);
33 EXCEPTION
34 WHEN OTHERS
35 THEN
36 UTL_FILE.FCLOSE (v_file);
37* END;
38 /
Hellohow are youI am fine
PL/SQL procedure successfully completed. -
Terminator - Prompt if a process is active before closing window
HI. As the title says: I want to get a prompt in Terminator (a terminal emulator) if I accidentally try to close its window while a process is active inside it. Eg.: If I have vim open inside terminator, and I carelessly press the window manager's close button, I want a prompt asking for confirmation.
Now there was a sane default by which it automatically showed such a prompt, but I (quite stupidly) told it to never prompt me again. Later I wanted it back. But I couldn't find where or how I could change that preference. I have tried going through its "Preferences" gui and also searched its default config file:
~/.config/terminator/config
but I have had no luck. I have also checked DConf Editor by searching for 'term', 'terminal' and 'terminator'. Again no luck.
I was hoping someone here could tell me how I could fix it. Currently I have resorted to running a screen session, so that I don't lose my work. But I hope I can get that prompt back.
Thank you.
Last edited by richcocoa (2013-10-14 08:29:31)It's possible to obtain this prompt when trying to close multiple tabs / terminals / windows. I've made some modifications to my /usr/share/terminator/terminatorlib/container.py based on the Launchpad version. The construct_confirm_close function makes it possible:
def construct_confirm_close(self, window, reqtype):
"""Create a confirmation dialog for closing things"""
# skip this dialog if applicable
if self.config['suppress_multiple_term_dialog']:
return gtk.RESPONSE_ACCEPT
dialog = gtk.Dialog(_('Close?'), window, gtk.DIALOG_MODAL)
dialog.set_has_separator(False)
dialog.set_resizable(False)
dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT)
c_all = dialog.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_ACCEPT)
c_all.get_children()[0].get_children()[0].get_children()[1].set_label(
_('Close _Terminals'))
primary = gtk.Label(_('<big><b>Close multiple terminals?</b></big>'))
primary.set_use_markup(True)
primary.set_alignment(0, 0.5)
secondary = gtk.Label(_('This %s has several terminals open. Closing \
the %s will also close all terminals within it.') % (reqtype, reqtype))
secondary.set_line_wrap(True)
labels = gtk.VBox()
labels.pack_start(primary, False, False, 6)
labels.pack_start(secondary, False, False, 6)
image = gtk.image_new_from_stock(gtk.STOCK_DIALOG_WARNING,
gtk.ICON_SIZE_DIALOG)
image.set_alignment(0.5, 0)
box = gtk.HBox()
box.pack_start(image, False, False, 6)
box.pack_start(labels, False, False, 6)
dialog.vbox.pack_start(box, False, False, 12)
checkbox = gtk.CheckButton(_("Do not show this message next time"))
dialog.vbox.pack_end(checkbox)
dialog.show_all()
result = dialog.run()
# set configuration
self.config.base.reload()
self.config['suppress_multiple_term_dialog'] = checkbox.get_active()
self.config.save()
dialog.destroy()
return(result)
Paired with suppress_multiple_term_dialog in your ~/.config/terminator/config:
[global_config]
suppress_multiple_term_dialog = False
Most I could find at this time in the morning. -
Send/receive data without a terminating character
I am trying to use the visa driver to send hex data over a serial port. I have tried to disable terminating characters but when I read from the port the trasnmission still terminates with a 0x0A character. How can I send/receive data without a terminating character???
You need to call viSetAttribute with VI_ATTR_ASRL_END_IN set to VI_ASRL_END_NONE. In LabVIEW, use a write property node with the Serial End In mode set to None (0).
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments -
Manual enabling and disabling of activation agent in active-active topology
For Active-Active Topology for Adapters we can deploy and run Oracle BPEL Process Manager and business processes on all nodes but only one adapter service is running at any given time. In case of failover we need to manually disable the Activation Agent on the failed node & enable the activation agent on another node.
One customer has the below queries. Could anyone help.
a)Is there any way to automate the process of enabling and disabling of activation agent in active active topology ie failover is auto-detected and enabling & disabling happens automatically?
b)What is the suggested clustering topology for BPEL from oracle
Regards,
Senthil
Message was edited by:
user554076Customer tried the configuration given in the doc http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b31005/life_cycle.htm#CIABHCFE
But after applying the changes they are getting the following error message: "Invalid activation parameter.Activation parameter Physical/Logical Directory has invalid value. Check the error stack and fix the cause of the error."
1. Why this error coming?
2. Also the doc said If the BPEL PM servers (JVMs) in the cluster are located across TCP/IP subnet boundaries, then it is necessary to add the attribute clusterAcrossSubnet=true. Can I have more details on parameter "clusterAcrossSubnet=true" (with an example preferred)
Regards,
Senthil -
Setting geo.enabled to false does not stop websites from knowing location. It changes based off of what proxy I am using. Is there a way to completely disable this?
I use Comcast in the Chicago area market and have a problem with the "Opt Out" stopping about once a year or so. It appears as being enabled at the Comcast Opt Out page, but the unresolved addresses are still going to the DNS "domain helper" service.
What works for me is to turn off the opt out preference, log off from that Comcast account, and close Firefox. When I restart Firefox, log in to Comcast, and then set the pref to "opt out" again - it works as intended and doesn't cause me a problem until it happens like 10 to 12 months later.
As far as why it seems to affect browsers in a different way, I have no idea. I do have Safari, Opera, and IE 8 installed, in addition to multiple versions of Firefox, but I don't use those other browsers enough to have seen a difference. I am usually opening pages from within Firefox in those other browsers to view the difference, ''or to print something that Firefox screws up in the Print Preview''. -
Hello,
I'm communicating with an 20 years old optical spectrum analyzer with GPIB connection using VISA.
I having trouble reading the entire data. I've try to use the termination character options to solve this but my instrument use both line feed and EOI termination codes.
I've found this help text: http://www.ni.com/white-paper/4256/en/
but could understand it to the end.
what is the symbol accepting the arrow symbol at and zero constant at the end? where should I put this property node in case I want to read many bytes ending with the above characters? before VISA - WRITE? after VISA read? and how can I combine two termination character? how do I represent two EOI?
thanks, AvishaySpecify too many bytes to read and the visa read wil stop on the first end character or eoi that appears.
For two eoi's read twice.
greetings from the Netherlands -
LCM V11: "Client Enable Status false" trouble
Hi,
I'm using Planning V11 with LCM to exporting (backuping) Planning meta-information.
Right now I'd like to migrate one application to another. But I have never stopped proccess at step "Client Enable Status false"
All log is:
BEGIN : TaskHandler.getExecutor
Executor not yet created or old executor destroyed. Creating new thread pool ...
END : TaskHandler.getExecutor
Attempting to load Log Config File:../conf/log.xml
2009-06-24 18:31:15,031 INFO - Executing package file - c:\Hyperion\common\impo
rt_export\APP.export.xml
2009-06-24 18:31:15,562 INFO - Reading HSS URL from command line
2009-06-24 18:31:15,562 INFO - HSS URL could not be read from command line. Rea
ding from registry.
2009-06-24 18:31:17,250 INFO - Audit Client has been created for the server htt
p://<SERVER>:28080/interop/Audit
2009-06-24 18:31:17,625 INFO - Client Enable Status false
2009-06-24 18:31:17,765 WARN - Going to buffer response body of large or unknow
n size. Using getResponseBodyAsStream instead is recommended.
2009-06-24 18:31:17,781 INFO - Client Enable Status false
2009-06-24 18:31:24,296 INFO - Audit Client has been created for the server htt
p://<SERVER>:28080/interop/Audit
2009-06-24 18:31:24,578 INFO - Client Enable Status false
Have you any idea to resolve this trouble?LCM migrate log tell me that some forms has incorrect characters such as ":".
After renaming forms migrate process has been passed successfully. -
OpenCL disabled in CC2014 PS but active in CC PS and CS6 PS ?
Mac Pro 5,1 48GB, Radeon 7950 Mac version,
OpenCL is disabled in CC2014 but active in both CC PS and CS6 PS. I also ran the OceanWave benchmark and it appears to be within spec. I think that all drivers are in OS and none available to install independently. Any ideas?
Use OpenCL is greyed for Normal, Basic and Advanced options in CC2014Here's the top portion of the system info, let me know if you need the entire report. It lists the OpenCl version at 1.2, it does show that Cuda is not supported but I assume that this is not needed for OpenCL support. Have the sniffer requirements for PS-OpenCl support changed from CS6 to CC2014? On the same computer, it is enabled with CS6.
While I was playing around with this problem I found a note on site that often has hardware tips for PS, and they don't run with Graphic Processor ( with CS6) -
The Graphics Processor is typically turned OFF, as it is usually a little slower than having it on. But the main reason is that in everyday use, its glitches and issues make me permanently disable the GPU.
As a test I turned off Use Graphics Processor and the UI does seem to be snappier. Obviously this would exclude any 3d work. I am tempted to run some comparative tests with it off.
thanks again,
Adobe Photoshop Version: 2014.0.0 20140508.r.58 2014/05/08:23:59:59 x64
Operating System: Mac OS 10.8.5
System architecture: Intel CPU Family:6, Model:44, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 6
Logical processor count: 12
Processor speed: 3330 MHz
Built-in memory: 49152 MB
Free memory: 37326 MB
Memory available to Photoshop: 46966 MB
Memory used by Photoshop: 80 %
3D Multitone Printing: Disabled.
Touch Gestures: Disabled.
Windows 2x UI: Disabled.
Image tile size: 1024K
Image cache levels: 6
Font Preview: Medium
TextComposer: Latin
Display: 1
Main Display
Display Bounds: top=0, left=0, bottom=1440, right=2560
OpenGL Drawing: Enabled.
OpenGL Allow Old GPUs: Not Detected.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
AIFCoreInitialized=1
AIFOGLInitialized=1
OGLContextCreated=1
glgpu[0].GLVersion="2.1"
glgpu[0].GLMemoryMB=3072
glgpu[0].GLName="AMD Radeon HD 7950 OpenGL Engine"
glgpu[0].GLVendor="ATI Technologies Inc."
glgpu[0].GLVendorID=4098
glgpu[0].GLRectTextureSize=16384
glgpu[0].GLRenderer="AMD Radeon HD 7950 OpenGL Engine"
glgpu[0].GLRendererID=16915457
glgpu[0].HasGLNPOTSupport=1
glgpu[0].CanCompileProgramGLSL=1
glgpu[0].GLFrameBufferOK=1
glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.20"
glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[4096 ]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[4096]
glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[128]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
clgpu[0].CLPlatformVersion="1.2 (Apr 25 2013 18:32:06)"
clgpu[0].CLDeviceVersion="1.1 "
clgpu[0].CLMemoryMB=1536
clgpu[0].CLName="AMD Radeon HD 7950 Compute Engine"
clgpu[0].CLVendor="AMD"
clgpu[0].CLVendorID=16915456
clgpu[0].CLDriverVersion="1.0"
clgpu[0].CUDASupported=0
License Type: Subscription
Serial number: -----
Application folder: /Applications/Adobe Photoshop CC 2014/
Photoshop scratch has async I/O enabled
Scratch volume(s):
Scratch_studio, 232.6G, 226.7G free
Required Plug-ins folder: /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/Required/Plug-Ins/
Primary Plug-ins folder: /Applications/Adobe Photoshop CC 2014/Plug-ins/
Installed components:
adbeape.framework adbeape 3.4.0.29366 0.1160850
AdbePM.framework.framework patchmatch 2.0.00.32543 79.554276
AdbeScriptUIFlex.framework AdbeScriptUIFlex 6.3.2.32394 79.550992
adobe_caps.framework adobe_caps 7.0.0.21 1.248010
AdobeACE.framework AdobeACE 2.20.02.32634 79.554120
AdobeAGM.framework AdobeAGM 4.30.33.32634 79.554120
AdobeAXE8SharedExpat.framework AdobeAXE8SharedExpat 3.8.0.32260 79.551013
AdobeAXEDOMCore.framework AdobeAXEDOMCore 3.8.0.32260 79.551013
AdobeBIB.framework AdobeBIB 1.2.03.32634 79.554120
AdobeBIBUtils.framework AdobeBIBUtils 1.1.01 79.554120
AdobeCoolType.framework AdobeCoolType 5.15.00.32634 79.554120
AdobeCrashReporter.framework AdobeCrashReporter 7.0.1
AdobeExtendScript.framework AdobeExtendScript 4.5.5.32401 79.551519
AdobeJP2K.framework AdobeJP2K 1.2.2.32511 79.252744
AdobeLinguistic.framework 20256
AdobeMPS.framework AdobeMPS 5.8.1.32565 79.553444
AdobeOwl.framework AdobeOwl 5.0.33 79.552883
AdobePDFL.framework AdobePDFL 11.0.0.32477 79.510482
AdobePDFSettings.framework AdobePDFSettings 1.4
AdobePIP.framework AdobePIP 7.2.1.3399
AdobeScCore.framework AdobeScCore 4.5.5.32401 79.551519
AdobeUpdater.framework AdobeUpdater 6.0.0.1452 "52.338651"
AdobeXMP.framework AdobeXMPCore 79.155772 79.155772
AdobeXMPFiles.framework AdobeXMPFiles 79.155772 79.155772
AdobeXMPScript.framework AdobeXMPScript 79.155772 79.155772
ahclient.framework ahclient 1.8.0.31
aif_core.framework AdobeAIF 2014.0.00 2014.0
aif_ocl.framework AdobeAIF 2014.0.00 2014.0
aif_ogl.framework AdobeAIF 2014.0.00 2014.0
amtlib.framework amtlib 8.0.0.45
boost_date_time.framework boost_date_time 8.0.0.0
boost_signals.framework boost_signals 8.0.0.0
boost_system.framework boost_system 8.0.0.0
boost_threads.framework boost_threads 8.0.0.0
Cg.framework NVIDIA Cg
CIT.framework CIT 2.2.6.32411 155804
CITThreading.framework CITThreading_boost 2.2.6.32411 155804
dvaaudiodevice.framework dvaaudiodevice 8.0.0.0
dvacore.framework dvacore 8.0.0.0
dvamarshal.framework dvamarshal 8.0.0.0
dvamediatypes.framework dvamediatypes 8.0.0.0
dvametadata.framework dvametadata 8.0.0.0
dvametadataapi.framework dvametadataapi 8.0.0.0
dvametadataUI.framework dvametadataUI 8.0.0.0
dvaplayer.framework dvaplayer 8.0.0.0
dvatransport.framework dvatransport 8.0.0.0
dvaui.framework dvaui 8.0.0.0
dvaunittesting.framework dvaunittesting 8.0.0.0
dynamiclink.framework dynamiclink 8.0.0.0
ICUConverter.framework ICUConverter 3.61 "gtlib_3.0" "." "16615"
ICUData.framework ICUData 3.61 "gtlib_3.0" "." "16615"
LogSession.framework LogSession 7.2.1.3399
mediacoreif.framework mediacoreif 8.0.0.0
PlugPlugExternalObject.framework 5.0.0.62
PlugPlugOwl.framework PlugPlugOwl 5.0.0.74
UpdaterNotifications.framework UpdaterNotifications 7.0.1.102 "7.0.1.102"
WRServices.framework -
Serial port termination character status?
Hello,
I need to read a message from a serial port and I'm having some problems. I used the advanced serial communication example and came up with the attached program. Everything works perfectly fine except for the fact that if no message is sent for 10 seconds as designed the serial read outputs an error. I know normally I can check to make sure there are bytes at the port before I do a read operation which solves this problem. However, when using the buffer to terminate the read once a termination character is provided the bytes at port property always returns 0 so I can't use this as a conditional for reading the port.
Is there a way to prevent the serial read from timing out in the attached program? Thank you.
Attachments:
serial_buffer.gif 19 KB
serial.vi 15 KBLet me maybe give a bit more details about the application. I want to be able to get any amount of characters as a string that someone inputs in to the serial port. This will be a computer so I can expect the commands to usually be valid but I want to provide some additional redundency incase a person at a terminal is writing commands. The commands might be "measure 110" or it might be "set 23 34". So the amount of bytes being sent will depend on the command. I used 1000 as the byte count on the read just to provide as much room as possible, setting it to 100 doesn't really make a difference in this application, the same thing happens. If someone starts typing in a terminal "measure 110" (for example) but forgets to hit enter for the termination character the program will time out since the error cluster is connected to the stop button of the loop. When this happens the entire program needs to be restarted. Not really ideal.
If I disconnect the error cluster from the stop button I noticed it works perfectly fine. After 10 seconds of the terminator character not being entered the buffer clears and the loop simply restarts. What I worry about is if there is some other fatal error (such as not being able to connect to the serial device) that the program will keep running. Is this something I even need to worry about?
Attached is a screenshot of my latest program which works great but like I said I'm just worried about not wiring the status from the error cluster to the stop button since that seems to be what I've always been taught to do. If I wire the byte count to the number of bytes property it will only collect the number of bytes I set, since this will vary based on the command that won't really work in this application.
Attachments:
serial_buffer.gif 20 KB -
Serial Recieve with termination character
Hi All,
I have developed a seqence fileto transmit data on the serial port and loop back to recieve the data on reciever of same port. I'm transmitting "Test
Serial" (Note: I'm not transmitting "Test\\rSerial") and recieving the data with termination character "carriage return".I'm using ASCII value 13 for the carriage return,but the recieve is not terminating on carriage return.
It seems Teststand is not able to recognize "13" or "\r" is seen as 2 character.
I'm attaching the sequence file for your perusal.It would be great if somebody can suggest me ways to make this work.
Thanks in advance.
Regards
VDC
PS: IVI serial driver need to be installed.You need to select Serial driver in device driver installation
Attachments:
SerialReadWrite_Term.seq 23 KBHI,
I tried to find this dll, where is it located?
If this is using "IVI" then you could see every action in NI-Spy !
I watched you code. Another thing you could try is disabling the caching. Try Cache=0
now data shold send very time to your device by the IVI engine
Juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
Maybe you are looking for
-
PPlease
-
IC_BASE look and feel (Default theme) very urgent !!!
Hi Gurus, Somehow the theme of my BSP application ic_base has been changed, entire look and feel of the application has been changed. Is the link between ic_base.css file with the ic_base bsp application has been changed? How can I restore my look an
-
My keys for F1 to F12 are messed up and I can't seem to fix it in the system pref.
I can't seem to sync my F1 to F12 Keys to what they are supposed to do. I checked all the system preference settings, even set all to default and nothiung works. Can someone please help?
-
ORA-06552 and ORA-06553 when creating a trigger
Hey Everyone, I have a issue when i try and create a trigger on a view. I get this error message. ORA-06552: PL/SQL: Compilation unit analysis terminated ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformedThi
-
PS Elementts 12 Organizer not opening
Hello, I recently received Elements 12 as a gift. I have never used any of the PS Elements programs before. I have tried t open organizer and it will load for like 20 seconds and then stops, it did this on the welcome screen and through editor.