DTR state while port init
Hi,
I've remarked that the DTR line is moved while the serial port initialize. As I'd like it to stay in its position during this period, can somebody tell me wether it's possible or if it's built-in the init process?
If it's the case, how to modify this process?
Thank you in advance.
Bim
In LV 7.1, it is buried in the property nodes. First open a VISA session with COM1 or whatever (ASRL...). Then look in the Function palette - Instrument I/O - VISA - VISA Advanced - Property Node. Create a property node on the block diagram and wire it to the VISA session. Then click in the property box and select Modem Line Settings - Line DTR State. Change to write. Right click on property and select Create Constant. This will create an enum with the correct values for asserting DTR and such.
Message Edited by tbob on 11-09-2005 12:24 PM
- tbob
Inventor of the WORM Global
Attachments:
DTR.PNG 20 KB
Similar Messages
-
I am able to bring up the DTR state property node on my simple serial.vi template. I managed to set it to 0 by wiring a 0 numeric constant to one side of it but this approach is not working now. Is there another way of setting DTR state to 0. What is the sequence also? Resource Name- Propert Node- VISA Serial is this correct?
I had a problem like this a while ago when I switched VISA versions on a computer.
I eventually got it to work by wiring a -1 to the DTR line instead of 0. Don't ask me why it worked, it just did. I have asked in the serial forum why this is, but I've never heard a reason.
As far as I know, -1 is simply an unknown (maybe uncontrolled) state whereas 0 forces 0, and 1 forces 1. Perhaps -1 allows other software / hardware to still take control of the DTR line. Your guess is as good as mine though.....
Give it a try.
Hope this helps
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2) -
How can I define the start bit in Serial Port Init VI?
I don't know if the number of start bits of the Serial Port Init VI match with the serial communications requirements of the device I need to communicate with.
Is there any way of modifying this parameter?LabVIEW uses the standard WindowsAPI for all of its serial functions. As such, LabVIEW does not support a customizable start bit since the native serial driver does not.
-
Hello,
I would like to know how or if I can create a hover state
button that will stay in it's hover state while hovering on it's
sub navigation links.
Please see this
link. what I want is that when hovering the sub categories
links, the top main button will STAY in it's hovering color (i.e
brown).
thanks
Micmigo33 wrote:
> Hello,
>
> I would like to know how or if I can create a hover
state button that will
> stay in it's hover state while hovering on it's sub
navigation links.
>
http://dalmadesigninc.com/rain/Index.html.
what I want is that when hovering
> the sub categories links, the top main button will STAY
in it's hovering color
> (i.e brown).
Make both the normal and over states the same color.
Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/ -
Security Problem while porting to 7.0
Hi,
We are running on 5.1, jdk1.2.2_07, sp12 and tried porting 7.0. We found
the following problem below after converting the weblogic.properties
file to config.xml.
Starting WebLogic Server...
<Jul 19, 2002 7:11:14 PM PDT> <Notice> <Management> <140005> <Loading
configuration /data/iasuser4/gazoo/build/weblogic/config.xml>
<Jul 19, 2002 7:12:11 PM PDT> <Notice> <Security> <090082> <Security
initializing using realm myrealm.>
<Jul 19, 2002 7:12:11 PM PDT> <Critical> <WebLogicServer> <000364>
<Server
failed during initialization. Exception:java.lang.SecurityException:
Authentication for user admin denied
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>
<Jul 19, 2002 7:12:11 PM PDT> <Emergency> <WebLogicServer> <000342>
<Unable
to initialize the server: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user admin
denied
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
Reason: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user admin
denied
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
Any clues or solutions to this? We used the same username and password
as in 5.1.
Thanks,
Shiva.Hi Shiva,
whats the backend realm being used ? rdbms , custom realm, ldap
If you want to run a older configuration like 6.x you have to boot the server in
"Compatibility Security mode".
Change the logging level to info (from console)a nd check to see if you have
the following message in the log
####<Jul 18, 2002 11:48:20 AM PDT> <Notice> <Security> <columbia>
<examplesServer> <main> <kernel identity> <> <090082> <Security initializing
using realm CompatibilityRealm.>
This way you can verify that you are running in compatibility mode.
While porting from 6.x to 7.0 I
to get into compatibility mode here are the steps I followed
5)Modified the startscript of WLS6.1 server as follows
a)set PATH=C:\bea70\weblogic70\server\bin;%PATH% -->this is to make sure that
the path contains the wlntio.dll file from 7.0 installation
b)set JAVA_HOME=C:\bea70\jdk131_02 --->This is to make sure that the
new jdk131_02 is bein used
c)set CLASSPATH=c:\bea70\weblogic70\server\lib\weblogic.jar;other entries
--->This is to make sure that weblogic.jar from 7.0 is being used
6)After this I restarted the server(Note that this is actually a 7.0 server
which is being booted because of the changes we made to the start script) The
server started automatically in compatibility mode. Once this happens you will
not see this problem
If you still face this problem please post your config.xml
Shiva Paranandi wrote:
Hi,
We are running on 5.1, jdk1.2.2_07, sp12 and tried porting 7.0. We found
the following problem below after converting the weblogic.properties
file to config.xml.
Starting WebLogic Server...
<Jul 19, 2002 7:11:14 PM PDT> <Notice> <Management> <140005> <Loading
configuration /data/iasuser4/gazoo/build/weblogic/config.xml>
<Jul 19, 2002 7:12:11 PM PDT> <Notice> <Security> <090082> <Security
initializing using realm myrealm.>
<Jul 19, 2002 7:12:11 PM PDT> <Critical> <WebLogicServer> <000364>
<Server
failed during initialization. Exception:java.lang.SecurityException:
Authentication for user admin denied
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>
<Jul 19, 2002 7:12:11 PM PDT> <Emergency> <WebLogicServer> <000342>
<Unable
to initialize the server: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user admin
denied
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
Reason: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user admin
denied
java.lang.SecurityException: Authentication for user admin denied
at
weblogic.security.service.SecurityServiceManager.doBootAuthorization(Securit
yServiceManager.java:978)
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:1116)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
Any clues or solutions to this? We used the same username and password
as in 5.1.
Thanks,
Shiva. -
I CAN NOT find serial port init.vi
In labview8.6 , I CAN NOT find serial port init.vi.
Other lots of icon can be found.....Dennis Knutson wrote:
for(imstuck) wrote:
That's because it is called VISA Configure Serial Port. It is located in Instrument I/O->Visa->Visa->Visa Advanced-> Bus Interface Specific -> serial.
And there it is. Sometimes you really gotta dig!
You enjoy taking the long way there?
Message Edited by Dennis Knutson on 05-20-2010 05:48 PM
I just did a search of the palette and thats where it took me so thats what i posted to help the OP. Besides, sometimes the scenic route is nice. You pass lots of beautiful VIs on the way to your destination that you may have never known existed. And, I actually prefer the quick drop way .
Message Edited by for(imstuck) on 05-20-2010 08:35 PM
CLA, LabVIEW Versions 2010-2013 -
How to retain the button over state while scrolling over a Pop-up Menu
Are there updated instruction for Fireworks 8?
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15926&sliceId=1I just wouldn't use those menus at all - there are much
better ways. Have
you considered them?
Check the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"turpya" <[email protected]> wrote in
message
news:f2ilfs$7gr$[email protected]..
> Hi,
>
> I am trying to work out how to retain button over state
while scrolling
> over a
> pop-up menu. By default the button changes back to mouse
out state, when
> scrolling over menu items for that button.
>
> I have tried to follow the advice in the below technote
(see link below),
> but
> it seems the instructions are incorrect.
>
> I am using Fireworks 8 - it appears the instructions are
for a prior
> version.
> I cannot find function fwLoadMenus() mentioned in Step 3
(number 6.).
>
> Has anyone accomplished this in Fireworks 8, that could
provide me with
> instructions?
>
> Thanks in advance,
>
> turpya.
>
>
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15926
> -
Getting Linker errors while porting InDesign CC plugin code to InDesign CC 2014
Hello,
I am getting following linker errors during porting of plugin code from InDesign CC to InDesign CC 2014
> PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ)
> PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ)
I am using following environment :
OS : Windows 7 SP1 (64bit)
Visual Studio : VS 2013 with platform tool set = Visual Studio 2010 (v100)
InDesign SDK : InDesign CC 2014 plugin SDK (070)
Boost Libraries : 1.55
I have added external boost library paths in visual studio -> Linker properties -> Additional Library paths, still above linker errors persists, can someone help ?
Thanks,
-Harsh.Hello Bartek,
Your answer resolved similar linker errors I faced while porting InDesign plug-ins from CC to CC 2014.
I added the macro - BOOST_SYSTEM_NO_DEPRECATED to the Preprocessor Definitions in VS 2012 SP4 and the build succeeded.
The second option of adding the macros - BOOST_ALL_DYN_LINK;BOOST_REGEX_USE_CPP_LOCALE;BOOST_REGEX_RECURSIVE;BOOST_HAS_ICU=1;BOOST_ FILESYSTEM_VERSION=3;BOOST_CHRONO_HEADER_ONLY;BOOST_SIGNALS_NO_DEPRECATION_WARNING; did not work for me.
Can you explain why this linker error showed up? And how the macro solved it?
Thanks,
Vijayasri -
Uploading to Manual Bank Statement while configuring BRS
Hi,
Please help me in uploading the Manual Bank Statement while configuring BRS.
I have entered into ff67 and tried uploading the Bank statement, but it is not entering into the statement screen and giving message "no statement is available".
Your input please..
Regards,
PPActually, if your uploading a Manual Bank Statement, and your getting that message, you're probably hitting the enter key before you have created your first bank statement.
Bear in mind that you should first call up tx FBL3N (it's a good idea to print it or have it opened in another session, since you should reconcile according to what has been posted previously).
Hope this will get you going.
The other reply that you got for this question is, I think, intended for Electronic Bank Statements.
Best regards,
Julio Gomez
FI Consultant
Caracas, Venezuela -
Can Dropdown menu item stay on the "roll over" state while the user's mouse is hoving over the sub
Can Dropdown menu item stay on the "roll over" state while the user's mouse is hoving over the parent's sub-menus?
ThanksThanks for the response. My main goal here is to get the drop
down menu word "Overview" to remain red once it reaches the frame
"WhoWeAre" or "OurMission" on the main timeline. If I turn the
button inside the movie clip into an MC to do this, the drop down
menu no longer works. Any thoughts on how to get this drop down
menu to do this? -
Black screen upon wake from sleep when I change power state while in sleep
Hi,
I'm having this problem where my MacbookPro won't always wake from sleep.
OSX is 10.6.3 and fully updated.
I've done a lot of troubleshooting, and I can now replicate the issue 100%:
1 - Put the MacbookPro to sleep by closing lid
2 - Change power source (from plugged-in to battery or vice versa)
3 - open lid - MacbookPro will wake, but stays at black screen and is unresponsive.
Only if I change power state while sleeping will this issue show. Anyone else experincing this issue, and anygot got a clue on what to do?
regards,
LasseI've seen the same issue after upgrading to 10.6.3. I have a one year old MacBook Pro. I would have the screen be black after coming back from sleep or hibernate (tried both).
The workaround I found is to close the lid -almost- all the way and then immediately open it back up again, like I am catching the Mac going back to sleep and then changing my mind. For whatever reason, this has been reliably solving my issue for the last couple weeks reliably.
Only other oddity I noticed is that immediately after upgrading OS X told me that my one year old battery needed to go in for servicing...
Anyway, now all looks right with the world assuming you don't mind a quick close/open cycle.. Lovely...
Tim -
HI,
I'm planning to Purchase Macbook Pro from United States while I'm there but later I will go back to India.
Does it come with international warranty or do I have purchase internationaly warranty serperately ?
Regards,
MohanApple's warranty is global. However, some countries have laws which over rides Apple's warranty. To check to see if India is involved read the info in EU-wide Consumer Laws article.
-
[CS4-Win] Thread problem while porting
I'm porting my plugin from CS3 to CS4 and I get following error while trying to open document:
Thread local data subsystem not initialized for this thread.
BeginPublicThreadBottleneck has not been called. (known leopard nav services problem here)
In CS3 this code works.
I use Windows native threads in my plugin.
Also I've got several warnings with following text:
CTUnicodeTranslator - Calling into single threaded CoolType from a thread - not safe
Can anybody help?I'm not too familiar with Windows threads, but you need to initialize the TLS, see http://msdn.microsoft.com/en-us/library/ms686991(VS.85).aspx
If you look in the source/public/includes/CTUnicodeTranslator.h, you can see that there are methods for getting an instance of the converter. This may give you problems when using multiple threads, i.e. several threads may access a the same state-based converter simultaneously resulting in in-correct conversions. Strange though, since Adobe is preparing to make InDesign multithreaded. -
EJB 3.0 Stateful bean not saving state while Stateless bean is !!!
My Stateless bean is as follow:
package test;
import javax.ejb.Stateless;
@Stateless(mappedName = "StatelessBean")
public class StatelessBean implements StatelessBeanRemote {
int counter;
public void increment(){
System.out.println("Stateless counter value:"+counter);
counter++;
My Stateful bean is as follow:
package test;
import javax.ejb.Stateful;
@Stateful(mappedName = "StateFulBean")
public class StateFulBean implements StateFulBeanRemote {
int counter;
public void increment(){
System.out.println("Stateful counter value:"+counter);
Client is as follows:
package test;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
public class TestClient {
public static void main(String[] args) {
Hashtable hashtable = new Hashtable();
hashtable.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
hashtable.put(Context.PROVIDER_URL, "t3://localhost:7001");
InitialContext ic;
try {
ic = new InitialContext(hashtable);
StateFulBeanRemote stateFulBeanRemote = (StateFulBeanRemote)ic.lookup("StateFulBean#test.StateFulBeanRemote");
stateFulBeanRemote.increment();
StatelessBeanRemote statelessBeanRemote = (StatelessBeanRemote)ic.lookup("StatelessBean#test.StatelessBeanRemote");
statelessBeanRemote.increment();
} catch (Exception e) {
e.printStackTrace();
The output i am getting after running the client twice is as follows:
//first time
Stateful counter value:0
Stateless counter value:0
//second time
Stateful counter value:0
Stateless counter value:1
Shouldn't the counter values be incremented in case of Stateful bean and remain the same for Stateless bean. But the output that I am getting is the complete opposite !!!
Can anyone please explain this confusing behavior of stateless and stateful ejb 3.0 beans.868664 wrote:
Can anyone please explain this confusing behavior of stateless and stateful ejb 3.0 beans.It is very simple: a stateless bean is ASSUMED to be stateless; you cannot keep state in a stateless bean as a contractual rule. That doesn't mean that you will fail to keep state in them at least for a little while, they are still only Java objects. Generally stateless EJBs are pooled, so you may get the same instance each time you use such an EJB, but you may just get another one. It is not dependable and the rules say don't do it - so don't do it.
A stateful bean is tied to a single client, and so can be used by a client to keep state in it. Since You are running the client application twice you are operating with two different clients and so you will get a new stateful bean each time and your code will keep printing 0. However there is also a bug in your code:
public void increment(){
System.out.println("Stateful counter value:"+counter);
}You are not incrementing anything. -
Why do we need to be in certian state while doing restore , recovery
This is just for my understanding
To restore control file - Nomount
Control file should not be in use while u restore .. is it all .. there is more to it.
Same with restoring database
Why in mounted state ... any specific reason .
Same with tablespace... what is state you should be in ? and Why ?Handle: Sunny-ORACLE
Status Level: Newbie
Registered: Feb 15, 2009
Total Posts: 21
Total Questions: 11 (7 unresolved)
Your answers are just a few clicks beyond the URL below.
http://tahiti.oracle.com
Let us know when you have found your answer.
Maybe you are looking for
-
Inserting file path/filename
Hi, all out there, I've just strated using Pages '08, and exploring it. But Pages Help and User Guide do not tell me how to insert the file path or filename in the footer, so that it's automatically updated whenever changed. It's not in the Insert me
-
When I fill out a form within this app and email it out the recipient receives a blank form, I looked in the manual and it says make sure you complete the saving process, but cannot seem to figure that part out. Also, these are forms I will be using
-
ICal a doesn't load events on my iPad
I've noticed that often, not always, when I click iCal on my iPad and the current month pops up, it shows a blank calendar. If I select the month prior, it pulls up that calendar with events on it and then, if I re-select the current month, the cale
-
Issue related to "Document Set Version History" option for Video uploaded in Asset library
Hi, When user clicks on 'Document Set Version History' option from context menu (ellipsis) of a particular video, 'Sorry, something went wrong' message is shown. The error message also says, versions are currently disabled for this document library.
-
After purchasing my macbook, i am missing content from my iTunes
i purchased my macbook air switching from a pc and when i pulled up my itunes, i am missing all my videos and some music. how do i retrieve the missing content?