Link VISA library with Qt
Hi,
I’m developing a GUI with Qt to control some oscilloscopes from LeCroy. For communication via Ethernet I want to use the VISA library.
I’ve written some code to test the communication channel but it just won’t compile. Here a short list of what I’ve already tried to make it run:
- copied project to C:\Temp to avoid space problems within the path
- used visa32.lib and visa64.lib
- copied libraries to the project folder
- linked libraries static and dynamic
The result or the copied library into the project folder is:
Fehler: No rule to make target 'C:/path…', needed by 'debug\KommunikationOszi3.exe'. Stop.
And the result with the “original” library is:
Fehler: error: Files/IVI: No such file or directory
Fehler: error: Foundation/VISA/Win64/Lib_x64/msc/: No such file or directory
The link commands in the project files are:
lib within project folder
win32: LIBS += -L$$PWD/ -lvisa32
INCLUDEPATH += $$PWD/
DEPENDPATH += $$PWD/
lib in the original folder:
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Program Files/IVI Foundation/VISA/Win64/Lib_x64/msc/ -lvisa32
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Program Files/IVI Foundation/VISA/Win64/Lib_x64/msc/ -lvisa32d
INCLUDEPATH += $$PWD/../../Program Files/IVI Foundation/VISA/Win64/Lib_x64/msc
DEPENDPATH += $$PWD/../../Program Files/IVI Foundation/VISA/Win64/Lib_x64/msc
And some code examples from my program:
Header file of the oscilloscope class
#ifndef LECROYWAVESURFER_H
#define LECROYWAVESURFER_H
#include <string>
#include <sstream>
#include <iomanip>
#include "visa.h"
class LeCroyWavesurfer
public:
LeCroyWavesurfer(ViSession *defaultRM, std::string name = "", std::string ip = "0.0.0.0");
~LeCroyWavesurfer();
// communication functions
void write(std::string command, std::string logMsg);
std::string read(std::string command, std::string logMsg, ViUInt32 datLength);
// configuring oscilloskop
void autoSetup(std::string channel);
private:
std::string name;
// for VISA-communication
ViSession *defaultRM; // connection to main VISA driver
ViSession session; // connection to device
ViStatus status; // communication status
ViUInt32 retCount; // retur count from string I/O
#endif // LECROYWAVESURFER_H
Some extracts frome the CPP file of the oscilloscope class
#include "leCroyWavesurfer.h"
// Includes for code completion
#include <QDebug>
// Constructor
LeCroyWavesurfer::LeCroyWavesurfer(ViSession *defaultRM, std::string name, std::string ip)
this->name = name;
this->defaultRM = defaultRM;
qDebug() << "Connection to Wafesurfer" << name.c_str();
std::string geraet = "VICP::" + ip;
status = viOpen(*defaultRM, (ViRsrc)geraet.c_str(), VI_NULL, VI_NULL, &session);
if (status < VI_SUCCESS) qDebug() << "Connecting to" << name.c_str() << "failed";
qDebug() << "Setting time out for communication with" << name.c_str();
status = viSetAttribute(session, VI_ATTR_TMO_VALUE, 500);
if (status < VI_SUCCESS) qDebug() << "Setting time out failed";
// Destructor
LeCroyWavesurfer::~LeCroyWavesurfer()
qDebug() << "Disconnecting from" << name.c_str();
status = viClose(session);
if (status < VI_SUCCESS) qDebug() << "Disconnecting from" << name.c_str() << "failed";
delete this;
// Writing command to oscilloscope
void LeCroyWavesurfer::write(std::string command, std::string logMsg)
// creating log message for debugging
qDebug() << logMsg.c_str();
qDebug() << "Sent command:" << command.c_str();
status = viWrite(session, (ViBuf)command.c_str(), command.length(), &retCount);
if (status < VI_SUCCESS) qDebug() << logMsg.c_str() << "failed";
// activating auto setup for chosen channel
void LeCroyWavesurfer::autoSetup(std::string channel)
// command syntax: <channel> : Auto_SETup [FIND]
// <channel> : = {C1, C2, C3, C4}
// If the FIND keyword is present, gain and offset adjustments will be performed
// only on the specified channel.
// In the absence of the FIND keyword, the normal auto-setup will be performed,
// regardless of the <channel> prefix.
std::string command = "C" + channel + " : Auto_SETup FIND";
std::string logMsg = "Setting auto setup for channel " + channel;
write(command,logMsg);
Qt 5.2.1 runs under Win7. I have a user account not an admin account.
Does anyone know how to fix this problem?
Solved!
Go to Solution.
I don't know why, but with a direct path it works. Should look like this:
# Library for VISA functions
win32: LIBS += "C:/Program Files (x86)/IVI Foundation/VISA/WinNT/lib/msc/visa32.lib"
If you also add the include folder you don't need to copy the visa.h into your project folder.
INCLUDEPATH += "C:/Program Files/IVI Foundation/VISA/Win64/Include"
DEPENDPATH += "C:/Program Files/IVI Foundation/VISA/Win64/Include"
Similar Messages
-
I have 1 itunes library with a phone and ipod linked to it. My daughter just got a touch. She would like to have some of my music downloaded into her touch. How can I do that without having her linked to my library?
Sync all the devices to the same computer.
If you do not want her apps, then simply do not select them to sync to your device.
Each device will only sync what you select to sync.
lllass gave you a great link for several options. -
Change Linked to Document with Edit Menu Column in Forms Library
Hi!
I am using a Forms Library, which I have associated with a Infopath Form, and there is that column "Name" which is linked Edit Menu... I do not want to use this column "Name" which is basically a FileName, so if I hide this "Name" column, how can I use an other column like ID (for eg) to link to document with edit menu...
I'll appreciate any advice on this... Thanks in AdvanceSteve - Open the page in SP designer and in design mode hover over an item in the column a little '>' should show, click it and you can choose the options, however in SP2013 the design mode is gone so here is how it looks in the code of the page for adding
a menu to the 'ActiveSite' column, note you need to do this in every location the column is used, which may make this not workable?
<ViewFields>
<FieldRef
Name="Attachments"/>
<FieldRef
Name="LinkTitle"/>
<FieldRef
Name="SiteURL"
/>
<FieldRef
Name="ActiveSite"LinkToItem="TRUE"
ListItemMenu="TRUE"/>
</ViewFields>
http://sharepointsurfer.wordpress.com/. -
Hi,
I am trying to convert one of our existing 'C' applications to .swc file.
The 'C' code is huge library with ~ 891 '.c' files and 274 '.h' files.
Are we allowed to use shared library while running the gcc command.
Because when I used the following command in cygwin:
$ gcc -I. jaz.c ./jazxfbrs.dll -O3 -Wall -swc -o jaz.swc;
It gave me the the following message:- "llvm-gcc: ./jazxfbrs.dll: linker input file unused because linking not done"
Does that mean we are not allowed to use linked library for compilation, or is there any workaround.
Thanks for any suggestion on this,
-YogenThat warning is negligible -- it is just because the gcc wrapper passes your arguments to both the compiling and linking subprocesses.
However, your application will fail at runtime if you try to access functionality from a platform dynamic library (such as a dll). Alchemy runs inside an actionscript virtual machine and has no way to access local dynamic libraries. You should link your code statically. -
Linking library with flash builder project?
I have a flash builder project going and I have found I need to make various movie clips and sprites in in Flash Pro. Is there a simple way to just link my library from the .fla project to my builder project so I can access the assets made in the .fla?
I'm using the latest version of both software packages.
Thanks!
-SGWOpen your .actionScriptProperties file and set useFlashSDK to false. This will allow you to use your older SDKs. They are managed in the same way as Flash Builder 4.6 when this option is changed.
-
Re-Linking Library with moved music folder
I'm having trouble re-linking my library when I moved my mp3's to my shared folder. I know I can do it manuly one by one but I have over 5,000 files. Does any one know an easy way to re-link these files so I retain my playcounts and ratings?
Hello again guys, any luck? I'm about ready to give up, I can't believe there isn't anything that can be done about this. It seems like 1 out of 3 questions on this site come down to getting rid of the , I just can't believe there isn't a way to fix this.
I'm not sure if you guys caught the following msg I posted on Friday. I had several people recommend running this script, but everytime I try to run it I only get coding errors. Maybe this makes sense to you.
Hi folks,
I'm new to the group and posted a question in a couple of open threads without realizing it's encouraged to start a new thread. I've searched and searched and searched the archives in an attempt to find a solution, but it appears I have a common problem that doesn't have an easy solution.
I transfered my music from notebook to external HD and la la la la ...... I now have ! ! ! in front of all my files. I'm a bit anal when it comes to playcounts, ratings, etc and I don't want to lose all that info. Of the solutions I've so far discovered, using Otto's updating script http://ottodestruct.com/itunes/update.txt appears to be the best solution.
Below is the script and subsequent error I receive.
var iTunesApp = WScript.CreateObject("iTunes.Application");
var tracks = iTunesApp.LibraryPlaylist.Tracks;
var numTracks = tracks.Count;
var i;
for (i = 1; i <= numTracks; i++)
var currTrack = tracks.Item(i);
currTrack.UpdateInfoFromFile();
the variable between brackets {} are both indented once (couldn't get to do in text)
Line: 8
Char: 1
Error: object doesn't support this property or method.
I know little to none about scripting and programming in general. Has anyone else used this script (or knows how to script!) and could help troubleshoot the problem? I posted yesterday on Otto's page as well, but I'm not sure when he will find my particular comment.
Your help would be greatly appreciated,
Lacey -
Problem description:
My MacBook Pro is running really slow. Applications won’t open or take up to 10 min.
EtreCheck version: 2.1.5 (108)
Report generated December 27, 2014 at 9:15:58 PM CST
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
MacBook Pro (13-inch, Late 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.4 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: one day 6:55:8
Disk Information: ℹ️
TOSHIBA MK5065GSXF disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HD (disk1) / [Startup]: 498.88 GB (5.04 GB free) (Low!)
Core Storage: disk0s2 499.25 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[loaded] com.epson.driver.EPSONProjectorUDAudio (1.30 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) [Support]
/System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) [Support]
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) [Support]
Problem System Launch Agents: ℹ️
[killed] com.apple.CallHistoryPluginHelper.plist
[killed] com.apple.coreservices.appleid.authentication.plist
[killed] com.apple.icloud.fmfd.plist
[killed] com.apple.telephonyutilities.callservicesd.plist
4 processes killed due to memory pressure
Problem System Launch Daemons: ℹ️
[killed] com.apple.ctkd.plist
[killed] com.apple.icloud.findmydeviced.plist
[killed] com.apple.ifdreader.plist
[killed] com.apple.nehelper.plist
[killed] com.apple.wdhelper.plist
[running] com.seagate.TBDecorator.plist [Support]
5 processes killed due to memory pressure
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
[running] com.carbonite.launchd.carbonitestatus.plist [Support]
[loaded] com.coupons.coupond.plist [Support]
[loaded] com.hp.help.tocgenerator.plist [Support]
[loaded] com.trendmicro.itis.dca.plist [Support]
[running] com.trendmicro.itis.uimgmt.agent.plist [Support]
Launch Daemons: ℹ️
[failed] com.adobe.fpsaud.plist [Support]
[running] com.carbonite.launchd.carbonitedaemon.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[running] com.trendmicro.icore.av.plist [Support]
[running] com.trendmicro.icore.main.plist [Support]
[running] com.trendmicro.icore.wp.plist [Support]
[running] com.trendmicro.itis.plugin.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[invalid?] com.jdibackup.JustCloud.autostart.plist [Support]
[invalid?] com.jdibackup.JustCloud.backupstart.plist [Support]
[loaded] com.trendmicro.itis.uninstaller.plist [Support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
bomgar-scc-20130819-104735 UNKNOWN (missing value)
bomgar-scc-20130905-143949 UNKNOWN (missing value)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
WDSecurityHelper Application (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
bomgar-scc-20130819-104735 UNKNOWN (missing value)
bomgar-scc-20130905-143949 UNKNOWN (missing value)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
Internet Plug-ins: ℹ️
SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 [Support]
CouponPrinter-FireFox_v2: Version: 5.0.5 - SDK 10.6 [Support]
Flash Player: Version: 15.0.0.223 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 600 - SDK 10.10
User internet Plug-ins: ℹ️
npBcsMcTcIO: Version: Unknown [Support]
Safari Extensions: ℹ️
Trend Micro Toolbar [Installed]
3rd Party Preference Panes: ℹ️
Carbonite [Support]
Flash Player [Support]
Paragon NTFS for Mac ® OS X [Support]
Seagate Dashboard for Mac OSX [Support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: ON
Auto backup: YES
Volumes being backed up:
HD: Disk size: 498.88 GB Disk used: 493.84 GB
Destinations:
Jens Seagate Backup [Local]
Total size: 999.86 GB
Total number of backups: 6
Oldest backup: 2014-06-24 10:33:56 +0000
Last backup: 2014-12-17 17:14:18 +0000
Size of backup disk: Too small
Backup size 999.86 GB < (Disk used 493.84 GB X 3)
My Passport for Mac [Local]
Total size: 2.00 TB
Total number of backups: 14
Oldest backup: 2013-08-21 19:19:35 +0000
Last backup: 2014-12-19 11:44:23 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 498.88 GB X 3)
Top Processes by CPU: ℹ️
6% coreaudiod
5% CarboniteDaemon
4% iMovie
3% JustCloud
3% Wondershare Player
Top Processes by Memory: ℹ️
335 MB iPhoto Library Manager
180 MB Finder
142 MB iMovie
70 MB Preview
51 MB Microsoft Word
Virtual Memory Information: ℹ️
149 MB Free RAM
1.04 GB Active RAM
897 MB Inactive RAM
1.17 GB Wired RAM
30.53 GB Page-ins
1.42 GB Page-outs
Diagnostics Information: ℹ️
Dec 26, 2014, 05:17:12 PM /Library/Logs/DiagnosticReports/iPhoto_2014-12-26-171712_[redacted].cpu_resourc e.diag [Details]
Dec 26, 2014, 03:47:17 PM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-154717_[redacted].cp u_resource.diag [Details]
Dec 26, 2014, 02:22:01 PM Self test - passed
Dec 26, 2014, 11:48:03 AM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-114803_[redacted].cp u_resource.diag [Details]You have nearly run out of disk space. Either purchase a larger one or start cleaning out the one you have?
-
Using same iTunes library with external hard drive (EHD) on different PCs
I know some of the issues related to this question have been touched on in different discussions but I don't think I have seen a clear yes/no and if yes, here's how, answer to my queries, so here goes.
Like another member, I would like to take my iTunes library with me when I'm away on holiday so that I can (for example) use an Apple TV with Home Sharing to watch movies in my library or pay albums in my music library while on holiday, in the same way as I am able to at home. I have a Samsung NC 10 notebook running Windows XP (which I would take with me with a Samsing Story EHD) and a Dell desktop. My iTunes media folders are now on the EHD and I think I have iTunes library files on the Dell and on the Samsung. Of course, if iTunes Match covered movies as well as music, I would use that and just take my Apple TV with me ... but it doesn't and seems not likely to.
By messing around and not properly understanding some of the discussions about this topic, I think my iTunes library looks as I expect it to be, on my Dell - though I have yet to test this by doing a synch with my iPad or iPod Touch. However, when I plug the EHD into the Samsung and open my library, I am missing at least one movie and I don't have any artwork showing for any of the movies. This is inspite of clicking Get Album Artwork, Consolidate Files and clicking to add, as a file (or folder) to the library, the missing movie which is on the EHD in the Movies folder of the iTunes Media. In iTunes on the Samsung "Preferences>Advanced", the iTunes media location (on my EHD) is correct.
I have obviously messed something up trying to replicate my Dell desktop iTunes library on the Samsung. So:
can/should I start again (if that is the best thing to do) with getting my iTunes library properly on to my Samsung notebook? And, if yes, how do I do that?
is it really possible to have all that you need to run and use iTunes on an EHD (i.e. both media folders and the various iTunes library files (.itl, .itdb, .xml etc.)) so that whenever I plug the EHD into my Dell or Samsung I can access my iTunes library in the same way and via the same files? Or, do you always have to have the library files (at least) located on the PC you are connecting your EHD to (showing my ignorance here! )?
if you can have all the library files as well as media on the EHD (i.e. all of your iTunes library), I assume there is more to moving these from the C drive in my Dell to the EHD, than just cutting and pasting them into the EHD and then deleting similarly named files in C drive in the Samsung?
if all of my iTunes library can be located in the EHD, would I just access that (i.e. open my iTunes library) - whether on my Dell or the Samsung - by pressing the Shift key when clicking on iTunes as a programme on my Dell or Samsung, or - and I appreciate this is more basic computer knowledge than iTunes query - does the fact that I would need to access iTunes via some form of link on the relevant PC indicate why some iTunes library files would always have to reside on the PC rather than the EHD?
if the iTunes library files have to stay on the relevant PC, how can they be kept in synch - i.e. the more portable Samsung offering the same access and picture of my iTunes library as the Dell does - or is iTunes just not set up to do this, in which case I might as well ignore trying to replicate my iTunes library on the Samsung?.
Apologies for this long list of questions. Any pointers to where the answers lie or even better specific answers themselves would be very much appreciated.
Many thanks.I think that's yes, yes, yes, yes, and not necessary...
Make a split library portable
Here are the typical layouts for the iTunes folders:
In the layout above right, with the media folder (everything in the red box) inside the library folder, the library is considered to be portable. A portable library can be moved from one path to another without breaking the links from the library to the media, and being self-contained it is much easier to backup and restore. (You do backup, don't you?).
You can rearrange things to make a split library portable by taking a number of small steps which don't break the library.
Before you start any media files that are outside of the media folder will need to be consolidated. If the library is in the old style layout then it should be upgraded to iTunes Media Organization (Library > Organize Library > Rearrange files in the folder <Media Folder>) to ensure that iPod Games, Mobile Applications etc. are brought inside the media folder, otherwise the links to these won't survive changes in the path of the library.
The basic non-fatal manipulations are:
You can create or connect to an alternate set of library files by holding down Shift (Win) or Option (Mac) when starting iTunes. (Note iTunes will continue to use this library until you use the same method again.)
You can move the library files to a new location and connect to it there as long as the media stays put.
You can move the library files and the media together if the media folder is a direct subfolder of the library folder.
If you have already moved/copied the media content from a subfolder of the library folder to a different location then you only need to copy the library files for it to appear as if you have moved the entire library in the way allowed above. I.e. just copy the library files into the parent folder of the media folder.
You can rename the media folder to iTunes Media (if it isn't already) if the media folder is inside the library folder.
iTunes uses the name of the folder holding the library files as the window title. Having made a library "portable" you may need to take a final step of renaming the library folder to iTunes or, if the library files have ended up at the root of a drive, moving all of the library files and content folders into a new folder called iTunes.
IMPORTANT: After each change you need to open, test and close the relevant library before attempting another change. If a change broke the library, undo it or revert to using the previous set of library files.
In essence all you need to do to join up a split library and make it portable is copy the library files into the parent folder of the media folder on the external/secondary drive and use the hold-down-shift/option-when-starting-iTunes method to connect to it. Other manipulations may be required to normalize the library so that the library and media folders have standard names.
tt2 -
Question re. sharing iTunes library with other user accounts
I have seen this document:
http://support.apple.com/kb/HT1203
I want to share one library with four users on my account. I'd like for any music purchased or ripped to this computer to end up in User 1's iTunes library, and for Users 2, 3 and 4 to have access to User 1s library just as User 1 does.
When I follow the directions for "Listening to another account's music files" in the above referenced document, it tells me to navigate to User 1's library through the dialog box that pops up after User 2 clicks "Add to LIbrary".
The problem is, when User 2 is doing that, and User 1 has put the iTunes library in ~user1/public, as the directions suggest, that dialog box won't allow user 2 to access User 1's Public folder.
Thoughts?
Thanks in advance...
ChrisAnother long description in store here...
iTunes has two main elements. One is the library.itl database file. When you open iTunes it is this that you see. It contains what music is in a library, playlists, date added, playcount, etc. It is this that is really the library. The other element are the media files. When you tell iTunes to play a track it checks in its library file which music file is associated with that track and goes and plays it.
Now you say, "for Users 2, 3 and 4 to have access to User 1s library just as User 1 does." Do you really want User 4 to be able to go and delete or rename tracks, or change the playlists? This can be done if you really want it. Or do you want each person to keep their own library [file] and share media? Even that has disadvantages as a person might still be able to rename a file or even delete it for all. At least everybody would have their own playlists, ratings, etc, though a person could delete a file and then it would appear as a broken link for others. To be honest, iTunes isn't great for sharing.
What are the iTunes library files? - http://support.apple.com/kb/HT1660
More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
Exactly what you want to do will involve different setups so before going into detailed insructions it would help to know which ones to provide. Here's an sampling:
iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189
Chris CA's instructions on sharing one iTunes music library between multiple user accounts - https://discussions.apple.com/message/8974074 - Multiple users using a single library file - similar post at: https://discussions.apple.com/thread/3753008
iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597 The problem with HS is I think you then end up with multiple copies of files, one for each user. At least they cannot damage another's collection though. -
Sharing itunes library with all users on the same computer
I am trying to share the itunes library with 4 users on the same computer. Please tell me how.
I've been trying to find a way to do this easily as well. It would be good if you could set iTunes to use the "All User" documents folder instead of the My Documents folder for the storing the main library and just use the My Documents Folder for individual playlists.
Follow the instructions in the link provided by Mimico Kid.
** It is not important that the shared folder is C:\Documents and Settings\All Users\Documents\My Music. It can be any shared folder on the PC. On mine it's H:\iTunes as I don't have the space on the C: drive.
When you've done that make sure that your Adminstrator account's copy of iTunes shows the Library, Playlists and Album art as you want the all the users to see them.
Then copy all of the remaining files from the Administrator Accounts iTunes folder into every other users iTunes folder.
** C:\Documents and Settings\USERNAME\Documents\My Music\iTunes
If any user adds songs or modifies playlists the administrator will need to log on and copy the files from that users iTunes folder to everyone elses.
This might be a slightly cumbersome way around the problem but it works for me. It has the disadvantage or advantage whichever way you look at it that every User will see an identical view with identical playlists. -
Can't open files in Doc Library with IE
hello all:
I have a document library which has recently shown an issue. There are many users that access this library with no problem. Recently, a few users (3-4) have complained that they are no longer able to view files. They are definitely able
to see the folder in which these files reside and then even see the file names & types. However, when they click on the files they are getting a message saying they don't have permission to view. The permissions have never been altered and
they are showing that they have Contribute level of permissions for this Doc Library.
Now here is the really odd part...it works fine with Chrome, but not IE. I have tried various versions of IE from 9-11, both in & out of compatibility mode.
Any suggestions you might have would be appreciated.Check these threads, can be helpful for you
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/71cdfcea-2b0c-4a8e-a8d3-1994c5f310b9/cant-open-a-sharepoint-document-template-with-word-2013?forum=sharepointgeneralprevious
http://social.technet.microsoft.com/Forums/office/en-US/3cbe6b22-e307-485b-a1af-1699cdf5ba86/office-2013-applications-are-not-able-to-open-sharepoint-2007?forum=officeitpro
Also check this link
http://deepinsharepoint.wordpress.com/2013/11/11/ie-cannot-open-office-documents-from-sharepoint-2013/
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer. -
My Mac is very slow and applications take a long time to load, especially Safari and iTunes. Please help. I have run the Etrecheck report and these are results.
Thanks Pat
EtreCheck version: 2.1.5 (108)
Report generated 4 January 2015 14:29:26 GMT
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
iMac (21.5-inch, Mid 2011) (Verified)
iMac - model: iMac12,1
1 2.7 GHz Intel Core i5 CPU: 4-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
BANK 0/DIMM1
empty empty empty empty
BANK 1/DIMM1
empty empty empty empty
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
AMD Radeon HD 6770M - VRAM: 512 MB
iMac 1920 x 1080
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 0:32:50
Disk Information: ℹ️
ST31000528AS disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (717.51 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OPTIARC DVD RW AD-5690H
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Seagate Expansion Desk 2 TB
EFI (disk1s1) <not mounted> : 210 MB
Seagate Expansion Drive (disk1s2) /Volumes/Seagate Expansion Drive : 2.00 TB (1.66 TB free)
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. iPhone
Apple Internal Memory Card Reader
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Library/Application Support/Avast/components/fileshield/unsigned
[loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) [Support]
/Library/Application Support/Avast/components/proxy/unsigned
[loaded] com.avast.PacketForwarder (2.0 - SDK 10.9) [Support]
Problem System Launch Agents: ℹ️
[failed] com.apple.syncservices.SyncServer.plist
Launch Agents: ℹ️
[loaded] com.avast.userinit.plist [Support]
[running] com.epson.Epson_Low_Ink_Reminder.launcher.plist [Support]
[loaded] com.epson.esua.launcher.plist [Support]
[running] com.epson.eventmanager.agent.plist [Support]
[loaded] com.oracle.java.Java-Updater.plist [Support]
[running] com.trusteer.rapport.rapportd.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[loaded] com.avast.init.plist [Support]
[loaded] com.avast.uninstall.plist [Support]
[failed] com.avast.update.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
[loaded] com.oracle.java.Helper-Tool.plist [Support]
[running] com.trusteer.rooks.rooksd.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[invalid?] com.avast.home.userinit.plist [Support]
[running] com.microsoft.LaunchAgent.SyncServicesAgent.plist [Support]
User Login Items: ℹ️
iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: ℹ️
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 [Support]
AdobePDFViewer: Version: 11.0.07 - SDK 10.6 [Support]
DivXBrowserPlugin: Version: 2.2 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
OVSHelper: Version: 1.1 [Support]
QuickTime Plugin: Version: 7.7.3
JavaAppletPlugin: Version: Java 8 Update 25 Check version
Safari Extensions: ℹ️
wrc [Installed]
3rd Party Preference Panes: ℹ️
DivX [Support]
Flash Player [Support]
Flip4Mac WMV [Support]
GoToMyPC Preferences [Support]
Java [Support]
Trusteer Endpoint Protection [Support]
Time Machine: ℹ️
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 999.35 GB Disk used: 281.84 GB
Destinations:
Seagate Expansion Drive [Local]
Total size: 2.00 TB
Total number of backups: 78
Oldest backup: 2013-07-28 18:09:06 +0000
Last backup: 2015-01-04 14:29:38 +0000
Size of backup disk: Adequate
Backup size 2.00 TB > (Disk used 281.84 GB X 3)
Top Processes by CPU: ℹ️
2% WindowServer
1% mds
0% fontd
0% mds_stores
0% com.avast.daemon
Top Processes by Memory: ℹ️
120 MB Safari
112 MB com.avast.daemon
94 MB com.apple.WebKit.WebContent
56 MB spindump
52 MB mds_stores
Virtual Memory Information: ℹ️
479 MB Free RAM
1.56 GB Active RAM
1.11 GB Inactive RAM
904 MB Wired RAM
5.37 GB Page-ins
75 MB Page-outs
Diagnostics Information: ℹ️
Jan 4, 2015, 01:57:18 PM Self test - passed
Standard users cannot read /Library/Logs/DiagnosticReports.
Run as an administrator account to see more information.patbythesea wrote:
Can I assume that with my Mac I do not need any additional virus protection software? If I do, what should I use?
See my Mac Malware Guide for help on protecting yourself from malware. You generally don't need anti-virus software.
(Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.) -
Hi,
My requirement is to create a document library associated to a custom content type with a document template associated. Also I need to create a document based on the template in this document library when a new item is created in another list by taking the
reference ID of that new Item , I need to create the document with the name appended by ID. I need to do all this deployment using WSP.
I have created document library with document template associated to content type by following instructions in below stated blog :http://blogs.msdn.com/b/chaks/archive/2011/05/19/deploying-a-document-template-file-in-content-type-in-a-office365-sandboxed-solution.aspx
This works perfect for me.
However, there are few observations, when going to Document Library > Library Settings > Advanced Settings > Document Template section - doesnt shows the Edit template link. When tried to look at the value for the document template using view source
, it is giving me /Lists/MyDocsListInstance/Forms/template.dotx instead of the actual template file uploaded.
Ignoring the above observation, when I am trying to create a sandbox based workflow in visual studio to create document in document library when new item is created in another list, I provide the ContentTypeID as the ID associated with the document library
with template.
It creates the corrupt document at end of workflow.
I have tried using .docx instead of .dotx files for workflow as per solution provided in some of the post but it isnt resolving my issue.
Any help is much appreciated.
Regards,
KrutikaOK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
things that go through this evolution. -
Problems linking shared library
I'm encountering the following warnings when linking a shared library:
CC -I. -c -DUNIX -KPIC WM_numeric.cxx
ld -z verbose -G -o libeqpr.so distribution.o lognormal.o standardnormal.o MurexAPIEntryPoint.o CibcModelAPI.o WM_EqModelBase.o WM_EqModelTree.o WM_EqModelVarSwap.o WM_numeric.o
ld: warning: relocation warning: R_SPARC_DISP32: file distribution.o: symbol <unknown>: displacement relocation applied to the symbol __1cMCIBC_PRICINGbL__RTTI__1nMCIBC_PRICINGMDistribution__: at 0x50: displacement relocation will not be visible in output image
ld: warning: relocation warning: R_SPARC_DISP32: file distribution.o: symbol <unknown>: displacement relocation applied to the symbol __1cMCIBC_PRICINGbL__RTTI__1nMCIBC_PRICINGMDistribution__: at 0x58: displacement relocation will not be visible in output image
ld: warning: relocation warning: R_SPARC_DISP32: file distribution.o: symbol <unknown>: displacement relocation applied to the symbol __1cMCIBC_PRICINGbN__RTTI__1CpnMCIBC_PRICINGMDistribution__: at 0x90: displacement relocation will not be visible in output image
The warning seem to be related to the fact that I use virtual members in classes that are derived and the member overriden. (I'm saying that because I have a similar library with no virual members and I don't get the warnings even if I use the same options).
uname -a:
SunOS cbsccuseqt1d 5.9 Generic_118558-17 sun4u sparc SUNW,Sun-Fire-880
CC -V:
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-22 2005/04/29
Please adviseMore info: hopefully I get an opinion:)
The header file:
#ifndef DISTRIBUTION_H
#define DISTRIBUTION_H
class Distribution
public:
virtual double marketVol( double _x) const;
#endif
The cpp file:
#include "distribution.h"
double Distribution::marketVol( double _x) const
return 1.0;
Makefile:
LIB = libeqpr.so
CC=CC
CFLAGS = -I. -c -DUNIX -KPIC
LDFLAGS = -z verbose -G
LINK_LIBPATH =
LINK_LIBS=
OBJS = distribution.o
all: ${LIB}
libeqpr.so: ${OBJS}
ld ${LDFLAGS} -o ${LIB} ${OBJS}
distribution.o: distribution.cpp
$(CC) $(CFLAGS) distribution.cpp
clean:
-rm libeqpr.so *.o
Message was edited by:
oulisee -
Compiling and linking C library in C++
I am using a C library (Solstice FTAM v9.0) in my C++ program. One of the library header files has a declrartion
short class;
in one of the structures.
The C++ compiler (Sun C++ 5.4 on Solaris 8) gives error. What we should do to compile and link this library in C++.You can use pointer to this structure without including the header that contains its definition, if it is possible, of course.
Also, it should be possible to #define class to smth else just before including this header and then #undef'ing it. If this C library comes in binary form, it shouldn't cause any problems since memory layout won't be affected; if it comes in source code form, you can always compile it with -Dclass=smth_else on the command line and reference this foul structure field from your C++ code accordingly.
Maybe you are looking for
-
Group Quantity field in ALV GRID
hi all, how to group the Quantity fileds in ALV grid output here fldcat-group = 'X' is not useful. ex : in my for a order qty column values are 10.00,10.00,10.00,10.00 for a given sales order then i have to display only one 10.00 instead of 4 tim
-
Hi My requirement is ,i have to read the long text entered in the FB03 transaction(it may be several lines) in my Z Print program and pass that to the sapscript form that it gets displayed as line item. can you please send sample how to do in progr
-
Hi guys New laptop, newly purchased CS5. I can't open Illustrator CS3 files - all I get is a message saying "An unknown problem has occured"... InDesign CS5 is fine opening InDesign CS3 files though. I'm running Lion by the way... Anyone else got t
-
HELP! Curve will NOT turn on!!! Shows picture of battery crossed out
Whenever I try to plug in my Curve to charge, it IMMEDIATELY shuts off, red indicator light stays on for a few seconds, then a white screen with a battery with a line through it appears. Re-seeding the battery or plugging/unplugging does nothing. I
-
Unprecedented issue - help needed!
I'm experimenting a very annoying misfunctioning in rendering (both flipbook or Out node) a simple pan across the screen of a graphic object with alpha. While on the timeline the layer goes as expected from left to right crossing the screen regularly