change the settings of the view variable value

Hello

I want to know if it is possible to change the settings for the debugger, including the display of the "view variable values" settings in labwindows cvi 9.0.

My problem is that in my project, it is essential to be able to debug and I came across some difficulities with the array of structs containing pointers to structures. So, I did a demonstration to show project:

typedef struct {}
short sVar1;
short sVar2;
char cVar1 [512];
} MyStruct2;

typedef struct {}
MyStruct2 ReadMyS2;
MyStruct2 WriteMyS2;
MyStruct2 * pReadMyS2;
MyStruct2 * pWriteMyS2;
} MyStruct1;

int main()

{

MyStruct1 MyS1_Phis [3] = {0};
int i = 0;

init
 
for (i = 0; i<>
{

MyS1_Phis [i] .pReadMyS2 = & MyS1_Phis [i]. ReadMyS2;

MyS1_Phis [i] .pWriteMyS2 = & MyS1_Phis [i]. WriteMyS2;
}

}

Unfortunately, the debugger handles .pReadMyS2 pointer [0] MyS1_Phis as if that it points to an array of 10 elements of type MyStruct2.

Anyone know the reason for this?

Thanks in advance,

Laszlo Nagy

Hi Laszlo,

Yes, it is a known problem in CVI. This can happen because of the way the CVI user protection is implemented. It is certainly not desirable, but we probably won't be able to change it at least still a year or two.

A solution you have is to disable the protection of the user and then rebuild your program (Options > Compiler Options > level debugging: no execution check)

Luis

Tags: NI Software

Similar Questions

  • Continue to change the views of folders under Vista

    Windows Vista has a tendency of capricciously changing the settings "Folder views" (tiles to details, etc.) and even delete the column headings used to "group by". Is there a solution? Is fixed in Vista 7?

    NEVER use a registry cleaner no matter what the case - Vista does a great job on its own and, most registry cleaners do nothing useful (even if the analysis indicates that it is 5999 errors that must be repaired and can be repaired if ypu buy program) or can do much harm (to the point where the only option is a clean install of the operating system).  There is not a single registry cleaner I can recommend (and there are probably hundreds of them out there).  IMHO, for Vista registry cleaners are a scam (and a dangerous one at that).

    You can change the views of files according to your needs (you have only 5 choices if you change the default templates - well you can always choose only 5, but the choice may be more in your order).  This is true regardless of the type of files contained in the files (once you change models, although the model chosen will depend on the type of file).

    Here's how to change the default template for a folder: http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html.  Default behavior is to select the model based on the first type of file placed in the folder (you must choose something).  Vista sets the folder type template according to what are the types of files in the window and the settings display window Explorer. This will show how to reset the display settings for the Windows File Explorer, disable Automatic folder Type Discovery (which is I think what you want)and increase the folder display the cache to make Vista do not forget the display settings, the folder type template, the size or the position of a specific window for when it was still closed to the location of specific path.

    It does not work with the Sub record under, Open with, open in a new tab (Internet Explorer), etc... dialog windows of type through the good File menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free program AutoSizer to resize them.

    Here is another article on how to modify the columns in Windows Explorer and sort in Vista: http://www.vistax64.com/tutorials/108665-column-customize.html.  This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.

    Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided: http://news.cnet.com/8301-13880_3-10019957-68.html.)

    I hope this helps in your situation.

    Good luck!

    Lorien - a - MCSE/MCSA/network + / A +.

  • How to change the constant variable rate?

    Hello

    I export an HDV mpeg file that has a constant rate of a video H264 (.mp4) video for download on a web-based video player. I actually use the preset in Media Encoder 'YouTube HD 720 p 29.97'.

    The web interface of video online that I use requires a constant rate. But when you look at the video in MediaInfo it shows the video file as a variable rate. After looking through the settings in Media Encoder I found no option to fix this.  I see where you can change the frame rate and it is 29.97. So you might think, it would be constant but is not. And there is not any settings, I see, to change the constant variable. I don't see the flow settings, but this isn't the issue.

    I also have Apple Compressor and making a successful rate constant, but if possible I prefer to use Adobe Media Encoder. If anyone knows how to change this setting? Thank you

    Hi CLCTV,

    To close this thread, interpreted as variable rate exports are now interpreted as constant in the CC SOUL 2014 (8,0) and later. Please create a new thread if you are still having trouble with this problem.

    Thank you

    Kevin

  • Change the view with email list on the left, not from list above and the content of the email below.

    I like my emails showing up with a list of emails to the left of the screen and the content of the e-mail to the right of the screen, which is how I got it in the old outlook program, I have used. Can someone tell me how to change the view, it looks like this?

    View (Alt + V) menu > Presentation > vertical display

  • How to use the Explorer under Vista? Like in XP, I was able to change the 'view' of all the files that have been hidden.

    I want to change the view and see all the files.  Reason is to move files from one hard disk to another instead of doing the method of file transfer.

    Go to start / Control Panel / folder Options / view and scroll down and check the box to show the hidden files and folders.  In addition, uncheck to hide system files. In addition, uncheck to hide extensions of known file types (the last because it can be useful and worth while you're brings other changes).  Your problem should be solved.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to change the number of values in the hour that are restricted.

    Hello

    May I know how to change the number of values in the hour that are restricted.

    In fact, we have improved of obiee in obiee 11g 10g. Data base is the same for Both.In 10 g the prompt value is limited to show only 35 records per page. As we passed it shows only 35 Records in 11g also. How can I change this limit to 11g.

    Please suggest me! Its urgent!

    Thanks and greetings

    Navnitha

    Hello

    In the advance tab we have the XML of the upgraded report, copy it into a Notepad and try to find the line beginning as below

    In 10g, we have something like below, simply remove the choicesPerPage = '35' from 11 g OBIEE XML report

    Thank you

    RAM

  • How can I change the view of drag in folders?

    * Original title: when dragging file icon

    I use windows 8. When I drag a Doc file in windows Explorer, I see a box with a big o in there. This obscures the folder in which I am trying to drag the file. How can I change the view of slide simply holds of a simple place (empty)?

    Hi Jim,.

    Thank you for your response.

    You will see the large icon of the file when you drag it is by design. It cannot be changed.

    Feel free to post your query if you have other issues with Windows in the future.

  • A statement UPDATE changes the line if the update changes the column even value?

    HI -.

    I have a main classification and the corresponding audit table. I have a trigger. I created using the suggestion:http://www.runningoracle.com/product_info.php?products_id=211

    Now the problem that I am facing is that: if I run the same query (same value) update on the main table for n times (with the same data)... my audit table is updated with a new record every time. He is not able to determine that the value is the same.

    My goal is to load the audit table data if the value in a cell in the main table is really have changed.

    A statement UPDATE changes the line if the update changes the column even value?

    Best regards

    I have a main Table and the corresponding Audit Table. I have a trigger. I created using the suggestion:http://www.runningoracle.com/product_info.php?products_id=211

    Why?

    You try to resolve what made you what are the PROBLEM that select as the solution?

    Now the problem that I am facing is that: if I run the same query (same value) update on the main table for n times (with the same data)... my audit table is updated with a new record every time.

    Yes - it is EXACTLY what you say that you wanted to do and EXACTLY what the code does in this article.

    He is not able to determine that the value is the same.

    I think you mean that the code does NOT check if the value is the same. You can certainly change the code to do this check. But I have a question to start with your need for such a solution.

    My goal is to load the audit table data if the value in a cell in the main table is really have changed.

    OK - then modify the code to check EACH COLUMN and compare its NEW value to the OLD value and insert only the table of audit if SOME (or columns you care specifically) have changed.

    A statement UPDATE changes the line if the update changes the column even value?

    It depends on what you mean by 'change the line '. Of course to update a column with the SAME value does not change the resulting data value.

    But the physical structure of the line, the location of the pieces of line and information in the header block (YVERT, etc.) will change. And, as others have said Oracle doesn't know and doesn't care, so if the new value of a column is the same as the old value will create redo, undo and the rest.

    Start over and tell us what PROBLEM you're trying to solve. Then we can help you find the best way to solve it.

  • OA Framework page customization - how to change the view Instance

    OA Framework page customization - how to change the view Instance

    Hello
    I have to add extra field to a page.
    View instance, I found, but there is no attribute that I need.

    Is it possible to change the Instance from the view of the application level
    because you use only not JDeveloper?

    Thank you
    Malin

    Hi smart,

    If your VO does not include the column you are looking for, then the only way to achieve is through substitution of VO for which you use jdeveloper.
    You can't accomplish by customizing.

    Thank you
    Sree

  • programmatically set the bind view variable value of object that showed to the query Panel

    Hello

    I have a case in 11.1.1.7 Jdev, I deploy my application on BPM 11.1.1.7.

    I have a VO that three attributes of it was put in a viewcriteria... Let's attribute A1, A2, and A3. the view criteria is any condition "AND".

    and then I create a variable binding in the VO named b. my vo also query using this variable B.

    in the jspx, I create a query panel based on the viewcriteria. then in the A1, A2, A3 and B query pane shows.

    I can reset the Panel request programmatically using this tutorial http://www.jobinesh.com/2011/04/programmatically-resetting-and-search.html

    but unfortunately he didn't succeed for A1, A2, A3 because they are in the display criteria, but B can't reset.

    I tried to put the value programmatically using queryModel, queryDescriptor, setNamedWhereClauseParam, but this failed and it starts to makes me crazy...

    anyone here seen cases like me? and found the workaround? pls throw some light.

    Thank you

    Have you tried with VariableValueManager? http://www.jobinesh.com/2010/10/how-to-set-bind-variable-values-at.html

    Dario

  • Bulk change the form field values?

    Hello

    Throughout our Eloqua installation, we have a couple of forms of adding contacts to our facility without a family name or the company. As a result, we are unable to sync these contacts to Salesforce so that we can make on them. I would like to change these contacts in bulk so that we can give them a name placeholder and company and then push them to Salesforce.

    I have heard that you can bulk edit things by going to settings-> fields and views, and there is an option within the Population of details field, but because we have more than 1000 unique values in these areas (most of our contacts have correctly added data), we can not view the values or change through this screen. What other options are there for safely editing these values on these contacts and then pushing just such contacts to Salesforce?

    Thank you!

    Brian

    Proceed to the step that you want to add and click on the black arrow down. Choose 'add members at this stage. " You will have the possibility to add a contact group at this time.

  • How to change the view options when opening a file?

    For some reason any in CS5 when I choose open default file to view "list" in Windows XP. I put my windows, so they all have the same point of view (detailed view) in the control panel. CS3 opens in view Details, but all programs in all of the default CS5 platform to the list view. Any thoughts on how to change this? Anyone else noticed this? Thank you!

    Near as I can tell, after doing a bunch of research on the Internet, always default list view dialog box in Windows XP.  Apparently the changes have been made to Vista to remember the last setting, but which does not apply to XP.

    I couldn't find all the config settings or anywhere registry tweaks that would change the behavior of file open dialog to set up view details by default.

    I, however, ran through a downloadable freeware utility called 'FileOpenPatcher' who patched the commdlg32.dll file in Windows XP ONLY , so you will see more columns of information by default in the Windows File-Open dialog boxes.  I tested it with Photoshop Elements, I had installed on a Windows XP virtual machine.  Apparently he sticks some values in the DLL to change values by default, and it seems to work on XP SP3.

    http://www.NETCULT.ch/elmue/ElmueSoft-en.htm

    It requires a reboot after installation.

    Now, that's what I see after execution of FileOpenPatcher, when I choose file - open:

    DISCLAIMER: I did not write this software, and I just found it on the Internet.  Of course, you will have to decide for yourself whether to trust it on your system.  Use it at your own risk.

    -Christmas

  • How to change the tag add value in app.config using c#

    Hi all

    Please help me to change the value of a value by using c# code.

    I tried to google.

    App.config code:

    ----------------------------

    <>

    XML version = "1.0" encoding = "utf-8"? >

    Configuration >

    appSettings >

    Add key = "Lastmodifiedtimeforfile" value = "16/05/12 13:57:12" / > "

    -----------------

    c# code

    ----------------

    System.Configuration.

    Configuration config = ConfigurationManager.OpenExeConfiguration (ConfigurationUserLevel.None);

    config. [AppSettings.Settings

    "Lastmodifiedtimeforfile"]. Value = "16/05/12 16:15:42;

    config. Save)

    ConfigurationSaveMode.Modified); ConfigurationManager.RefreshSection ("appSettings");

    But when I pass my code and the execute method, I do not see the change of all configuration files (App.config,. exe.config, or. vshost.exe.config).

    Even I tried the following code:

    XmlDocument xmlDoc = new XmlDocument();

    xmlDoc.Load (AppDomain.CurrentDomain.SetupInformation.ConfigurationFile);

    foreach (XmlElement element xmlDoc.DocumentElement)
    {
    If (element. Name.Equals ("appSettings"))
    {
    foreach (XmlNode node in the element. ChildNodes)
    {
    If (node. Attributes [0]. Value.Equals ("Lastmodifiedtimeforfile"))
    {
    node. Attributes [1]. Value = DateTime.Now.ToString;
    }}}}

    xmlDoc.Save (AppDomain.CurrentDomain.SetupInformation.ConfigurationFile);

    But it does not work. Please help me its urgent.

    Kind regards

    Selva.C

    Hi Selva,

    Thanks for posting your question in the Microsoft answers Forum.  I would suggest to repost your question in our MSDN forums:

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • How to programmatically change the environment variables

    I use Visual Source Safe commands in the context menu of Windows Explorer, and I often have to change VSS to the other database. I uses .reg files to change the value of the variable SSDIR. The registry editor displays the new value immediately after the call to the .reg file. However, the system does not seem to actually recognize the change, unless I open my computer properties to Environment Variables, and then click OK.

    How can I make an immediate change to a variable user permanently without enter in the properties of my computer?

    Ken Frantz
    New York State Office of Mental Health
    Business Intelligence Office
    E-mail address is removed from the privacy *.
    518-474-3079.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited to the audience of developers on MSDN. Please ask your question in the Forum of SourceSafe and Visual Studio Source code control. You can follow the link to your question:

    http://social.msdn.Microsoft.com/forums/en-us/vssourcecontrol/threads

  • Why do I not change the view when I open a folder?

    I am running Windows 7 on a laptop Gateway/Acer. My main question has different views of files and folders every time I open a new folder. It may appear as a list of small icons, etc. I remember that I could change the settings in the control panel in XP and Vista, and all records have the same point of view. What should I do on Windows 7?

    I'm also a terrible with startup items and know time if they are needed or not. I KNOW I have too much processes running and they use to the top of my RAM. This problem is my computer very slow. Even the elements that I spent in and saw that they have a "manual" startup, still seem start-up by themselves. I KNOW by looking at the processes and services and to put an end to or of them changing from automatic to manual. I don't know what to change (the descriptions make it all seems crucial), more the same manual start!

    Finally, I am confused with there online backup. The icloud, cloud, pc-cloud, etc. I've been a backup on my external hard drive, but it is full. I think I probably have things stored on at least 5 different clouds online, but would also even if I had an accident and had to reformat my hard drive?

    I thank very you much for your time and attention to my many questions. I've saved the top for a while!
    Laura

    One-way ticket, open a window in the Explorer and set the display as you want. Then in the menu bar click on Options of Tools\Folder, then click on apply to records. This should create all the folders as you want.  Can also go to control Panel\Folder Options\View and do the same thing.

Maybe you are looking for

  • Need drivers for laptop HP 15-r074tu

    Dear Sir. We have recently bought a HP 15-r074tu Notebook PC and installed Windows 7 64 bit on it. But could not find drivers for the below described components. It has been shown with a yellow triangle with an exclamation point in Device Manager. Ca

  • Need of advice, the GPU upgrade and power

    Since this is my first post here I would start by saying hello to everyone. I recently bought an HP Elite M9400t Core 2 Duo Quad 2.5 GHz. It came with 4 GB of ram and an its Soundblaster wireless Xtreme pci-e card but unfortunately only came with an

  • Printe all-in - One HP ENVY 7640: Wired AND wireless?

    Question: If I buy the above printer, can I print using my Wired I bought an OiiceJet 6500 has some time ago. I was VERY disappointed. It does not Duples, I get EITHER Witred or wireless (not both). Of ink refills are EXPENSIVE and they only last for

  • C:\Users\Taufiq\AppData\Local\Temp could not be saved, because you cannot change the contents of this folder.

    When downloading, I had met following problem please solve this problem.

  • Bluetooh

    Salve, sto tentando di installare he mio phones bluetooth PC and my mi dice che non trova driver sul it come posso risolvere? p.s. Yes No cos' e pilot of United Nations